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

Class BadRequestError

app/errors.py:44–53  ·  view source on GitHub ↗

Raised when user input is incomplete or invalid.

Source from the content-addressed store, hash-verified

42
43
44class BadRequestError(GlmDeskError):
45 """Raised when user input is incomplete or invalid."""
46
47 def __init__(self, message: str, *, details: dict[str, Any] | None = None) -> None:
48 super().__init__(
49 message,
50 status_code=400,
51 code="bad_request",
52 details=details,
53 )
54
55
56class NotFoundError(GlmDeskError):

Callers 15

create_qrMethod · 0.90
run_payment_flowMethod · 0.90
_create_upgrade_signMethod · 0.90
store_manual_ticketMethod · 0.90
build_click_answerMethod · 0.90
build_verify_payloadMethod · 0.90
solve_powMethod · 0.90
collect_for_challengeMethod · 0.90
_fetch_scriptMethod · 0.90
_run_vmMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected