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

Class IntegrityError

pymysql/err.py:48–51  ·  view source on GitHub ↗

Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.

Source from the content-addressed store, hash-verified

46
47
48class IntegrityError(DatabaseError):
49 """Exception raised when the relational integrity of the database
50 is affected, e.g. a foreign key check fails, duplicate key,
51 etc."""
52
53
54class InternalError(DatabaseError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected