_mysql_exceptions: Exception classes for _mysql and MySQLdb.
Exceptions |
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. |
Error |
Exception that is the base class of all other error exceptions
(not Warning). |
IntegrityError |
Exception raised when the relational integrity of the database
is affected, e.g. |
InterfaceError |
Exception raised for errors that are related to the database
interface rather than the database itself. |
InternalError |
Exception raised when the database encounters an internal
error, e.g. |
MySQLError |
Exception related to operation with MySQL. |
NotSupportedError |
Exception raised in case a method or database API was used
which is not supported by the database, e.g. |
OperationalError |
Exception raised for errors that are related to the database's
operation and not necessarily under the control of the programmer,
e.g. |
ProgrammingError |
Exception raised for programming errors, e.g. |
Warning |
Exception raised for important warnings like data truncations
while inserting, etc. |