Table Of Contents

Previous topic

humphrey.core.catalog

Next topic

humphrey.core.model

This Page

humphrey.core.exceptions

This module defines the exceptions of the package.

At the moment, there are only wrappers for relevant SQLAlchemy exceptions.

API

exception humphrey.core.exceptions.DatabaseError(statement, params, orig, connection_invalidated=False)
Wraps a DB-API DatabaseError.
exception humphrey.core.exceptions.IntegrityError(statement, params, orig, connection_invalidated=False)
Wraps a DB-API IntegrityError.
exception humphrey.core.exceptions.InvalidRequestError

SQLAlchemy was asked to do something it can’t do.

This error generally corresponds to runtime state errors.

exception humphrey.core.exceptions.UnboundExecutionError
SQL was attempted without a database connection to execute it on.