pyre.db.exceptions

Module Contents

exception pyre.db.exceptions.Warning

Bases: pyre.framework.exceptions.FrameworkError

Exception raised for important warnings, such as data truncation, loss of precision and other idications that the implementation engines have carried out a request in a perhaps incorrect way

exception pyre.db.exceptions.Error

Bases: pyre.framework.exceptions.FrameworkError

Base class for all exceptions that are raised by this module to indicate an unrecoverable error

exception pyre.db.exceptions.InterfaceError

Bases: pyre.db.exceptions.Error

Base class for exceptions raised by the database client code, not the database back end

exception pyre.db.exceptions.DatabaseError

Bases: pyre.db.exceptions.Error

Base class for exceptions raised by the database back end

exception pyre.db.exceptions.DataError

Bases: pyre.db.exceptions.DatabaseError

Exception raised when a data processing error occurs

exception pyre.db.exceptions.OperationalError

Bases: pyre.db.exceptions.DatabaseError

An exception that indicates environmental problems that are generally not related to the program itself

exception pyre.db.exceptions.IntegrityError

Bases: pyre.db.exceptions.DatabaseError

Exception raised when an operation violates the referential integrity of the data store

exception pyre.db.exceptions.InternalError

Bases: pyre.db.exceptions.DatabaseError

Exception raised when the back end reports an internal error

exception pyre.db.exceptions.ProgrammingError(command, diagnostic, **kwds)

Bases: pyre.db.exceptions.DatabaseError

Exception raised when there is a problem with the SQL statement being executed

description = while executing {0.command!r}: {0.diagnostic}
exception pyre.db.exceptions.NotSupportedError

Bases: pyre.db.exceptions.DatabaseError

Exception raised when a method or database API was used that is not supported by the database client