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

Class HandlerError

api/api_handlers.py:43–47  ·  view source on GitHub ↗

Custom exception for handler-specific errors.

Source from the content-addressed store, hash-verified

41 logger.info("Shared HTTP client closed")
42
43class HandlerError(Exception):
44 """Custom exception for handler-specific errors."""
45 def __init__(self, message, status_code=500):
46 super().__init__(message)
47 self.status_code = status_code
48
49class ConfigError(HandlerError):
50 """Error for configuration issues like missing API keys."""

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