Error originating from the downstream AI API.
| 36 | super().__init__(message, status_code=500) # Internal server error as config is wrong |
| 37 | |
| 38 | class BackendAPIError(HandlerError): |
| 39 | """Error originating from the downstream AI API.""" |
| 40 | def __init__(self, message, status_code=502): # Bad Gateway by default |
| 41 | super().__init__(message, status_code) |
| 42 | |
| 43 | |
| 44 | class BaseAPIHandler: |
no outgoing calls
no test coverage detected