Exception that is the base class of all other error exceptions (not Warning).
| 13 | |
| 14 | |
| 15 | class Error(MySQLError): |
| 16 | """Exception that is the base class of all other error exceptions |
| 17 | (not Warning).""" |
| 18 | |
| 19 | def __init__(self, *args, sqlstate=None): |
| 20 | super().__init__(*args) |
| 21 | self.sqlstate = sqlstate |
| 22 | |
| 23 | |
| 24 | class InterfaceError(Error): |
nothing calls this directly
no outgoing calls
no test coverage detected