MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __str__

Method __str__

lib/sqlalchemy/exc.py:66–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 )
65
66 def __str__(self) -> str:
67 message = super().__str__()
68 if self.code:
69 message = "%s %s" % (message, self._code_str())
70 return message
71
72
73class SQLAlchemyError(HasDescriptionCode, Exception):

Callers

nothing calls this directly

Calls 2

_code_strMethod · 0.95
__str__Method · 0.45

Tested by

no test coverage detected