3 class MySQLError(Exception): ...
4 class Warning(builtins.Warning, MySQLError): ...
5 class Error(MySQLError): ...
6 class InterfaceError(Error): ...
7 class DatabaseError(Error): ...
8 class DataError(DatabaseError): ...
9 class OperationalError(DatabaseError): ...
10 class IntegrityError(DatabaseError): ...
11 class InternalError(DatabaseError): ...
12 class ProgrammingError(DatabaseError): ...
13 class NotSupportedError(DatabaseError): ...