Method
__init__
(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
Tested by
no test coverage detected