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

Class HandlerError

api/api_handlers.py:42–46  ·  view source on GitHub ↗

Custom exception for handler-specific errors.

Source from the content-addressed store, hash-verified

40 logger.info("Shared HTTP client closed")
41
42class HandlerError(Exception):
43 """Custom exception for handler-specific errors."""
44 def __init__(self, message, status_code=500):
45 super().__init__(message)
46 self.status_code = status_code
47
48class ConfigError(HandlerError):
49 """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