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

Method __init__

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

Source from the content-addressed store, hash-verified

69 """Raised when BigModel returns an error or invalid payload."""
70
71 def __init__(self, message: str, *, details: dict[str, Any] | None = None) -> None:
72 super().__init__(
73 message,
74 status_code=502,
75 code="upstream_request_failed",
76 details=details,
77 )
78
79
80def install_exception_handlers(app: FastAPI) -> None:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected