Package entropy :: Package db :: Module exceptions

Module exceptions

source code


Author: Fabio Erculiani <[email protected]>

Contact: [email protected]

Copyright: Fabio Erculiani

License: GPL-2

Entropy Framework repository exceptions module.

Classes
  Warning
Exception raised for important warnings like data truncations while inserting, etc.
  Error
Exception that is the base class of all other error exceptions.
  InterfaceError
Exception raised for errors that are related to the database interface rather than the database itself.
  DatabaseError
Exception raised for errors that are related to the database.
  DataError
Exception raised for errors that are due to problems with the processed data like division by zero, numeric value out of range, etc.
  OperationalError
Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer, e.g.
  IntegrityError
Exception raised when the relational integrity of the database is affected, e.g.
  InternalError
Exception raised when the database encounters an internal error, e.g.
  ProgrammingError
Exception raised for programming errors, e.g.
  NotSupportedError
Exception raised in case a method or database API was used which is not supported by the database, e.g.
  RestartTransaction
Exception raised in case the whole transaction has been aborted by the database and caller is kindly required to restart it from the beginning.
  LockAcquireError
Raised when the repository lock, either shared or exclusive, cannot be acquired.
Variables
  __package__ = None
hash(x)