/home/phd/current/SQLObject/SQLObject/sqlobject/dberrors.py

`0001"""dberrors: database exception classes for SQLObject.
0002
0003 These classes are dictated by the DB API v2.0:
0004
0005 http://www.python.org/topics/database/DatabaseAPI-2.0.html
0006"""
0007
0008class Error(StandardError): pass
0009class Warning(StandardError): pass
0010
0011class InterfaceError(Error): pass
0012class DatabaseError(Error): pass
0013
0014class InternalError(DatabaseError): pass
0015class OperationalError(DatabaseError): pass
0016class ProgrammingError(DatabaseError): pass
0017class IntegrityError(DatabaseError): pass
0018class DataError(DatabaseError): pass
0019class NotSupportedError(DatabaseError): pass
0020
0021class DuplicateEntryError(IntegrityError): pass`