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

Class NotFoundError

app/errors.py:56–65  ·  view source on GitHub ↗

Raised when a requested resource does not exist.

Source from the content-addressed store, hash-verified

54
55
56class NotFoundError(GlmDeskError):
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

get_accountMethod · 0.90
updaterMethod · 0.90
get_task_qr_imageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected