MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / Error

Class Error

pymysql/err.py:15–21  ·  view source on GitHub ↗

Exception that is the base class of all other error exceptions (not Warning).

Source from the content-addressed store, hash-verified

13
14
15class 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
24class InterfaceError(Error):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected