MCPcopy Create free account
hub / github.com/Roy3838/Observer / BackendAPIError

Class BackendAPIError

api/api_handlers.py:53–56  ·  view source on GitHub ↗

Error originating from the downstream AI API.

Source from the content-addressed store, hash-verified

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

Callers 4

handle_requestMethod · 0.90
handle_requestMethod · 0.90
handle_requestMethod · 0.90
handle_requestMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected