Error originating from the downstream AI API.
| 52 | super().__init__(message, status_code=500) # Internal server error as config is wrong |
| 53 | |
| 54 | class BackendAPIError(HandlerError): |
| 55 | """Error originating from the downstream AI API.""" |
| 56 | def __init__(self, message, status_code=502): # Bad Gateway by default |
| 57 | super().__init__(message, status_code) |
| 58 | |
| 59 | |
| 60 | class BaseAPIHandler: |
no outgoing calls
no test coverage detected