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

Class HandlerError

api/api_handlers.py:27–31  ·  view source on GitHub ↗

Custom exception for handler-specific errors.

Source from the content-addressed store, hash-verified

25 await http_client.shutdown()
26
27class HandlerError(Exception):
28 """Custom exception for handler-specific errors."""
29 def __init__(self, message, status_code=500):
30 super().__init__(message)
31 self.status_code = status_code
32
33class ConfigError(HandlerError):
34 """Error for configuration issues like missing API keys."""

Callers 2

handle_requestMethod · 0.90
handle_requestMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected