Raised when a dirty operation times out.
| 78 | |
| 79 | |
| 80 | class DirtyTimeoutError(DirtyError): |
| 81 | """Raised when a dirty operation times out.""" |
| 82 | |
| 83 | def __init__(self, message="Operation timed out", timeout=None): |
| 84 | details = {"timeout": timeout} if timeout else {} |
| 85 | super().__init__(message, details) |
| 86 | self.timeout = timeout |
| 87 | |
| 88 | |
| 89 | class DirtyConnectionError(DirtyError): |
no outgoing calls