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

Method __init__

api/api_handlers.py:45–47  ·  view source on GitHub ↗
(self, message, status_code=500)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected