MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/exc.py:131–135  ·  view source on GitHub ↗
(self, message: str, orig: Exception | None = None)

Source from the content-addressed store, hash-verified

129 orig: Exception | None
130
131 def __init__(self, message: str, orig: Exception | None = None):
132 # we accept None for Exception since all DBAPI.Error objects
133 # need to support construction with a message alone
134 super().__init__(message)
135 self.orig = orig
136
137 @property
138 def driver_exception(self) -> Exception:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected