MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / __init__

Method __init__

app/errors.py:59–65  ·  view source on GitHub ↗
(self, message: str, *, details: dict[str, Any] | None = None)

Source from the content-addressed store, hash-verified

57 """Raised when a requested resource does not exist."""
58
59 def __init__(self, message: str, *, details: dict[str, Any] | None = None) -> None:
60 super().__init__(
61 message,
62 status_code=404,
63 code="not_found",
64 details=details,
65 )
66
67
68class UpstreamRequestError(GlmDeskError):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected