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

Class BackendAPIError

api/api_handlers.py:54–57  ·  view source on GitHub ↗

Error originating from the downstream AI API.

Source from the content-addressed store, hash-verified

52 super().__init__(message, status_code=500) # Internal server error as config is wrong
53
54class 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
60class 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