There was an error while loading. Please reload this page.
1 parent 698b731 commit 0616718Copy full SHA for 0616718
1 file changed
src/core/errors.py
@@ -39,6 +39,7 @@ def __init__(
39
instance: str | None = None,
40
status_code: HTTPStatus | None = None,
41
) -> None:
42
+ """Initialize an error that can be formatted to a RFC 9457 compliant response."""
43
self.detail = detail
44
self._code_override = code
45
self.instance = instance
0 commit comments