Exception raised when a database tool operation fails.
| 57 | |
| 58 | |
| 59 | class DatabaseToolError(Exception): |
| 60 | """Exception raised when a database tool operation fails.""" |
| 61 | |
| 62 | def __init__(self, message: str, code: Optional[str] = None): |
| 63 | self.message = message |
| 64 | self.code = code |
| 65 | super().__init__(message) |
| 66 | |
| 67 | |
| 68 | def _get_connection(sid: int, did: int, conn_id: str): |
no outgoing calls
no test coverage detected