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

Method __init__

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

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected