Method
__init__
(
self,
description: str | None = None,
response: SansIOResponse | None = None,
original_exception: BaseException | None = None,
)
Source from the content-addressed store, hash-verified
| 750 | ) |
| 751 | |
| 752 | def __init__( |
| 753 | self, |
| 754 | description: str | None = None, |
| 755 | response: SansIOResponse | None = None, |
| 756 | original_exception: BaseException | None = None, |
| 757 | ) -> None: |
| 758 | #: The original exception that caused this 500 error. Can be |
| 759 | #: used by frameworks to provide context when handling |
| 760 | #: unexpected errors. |
| 761 | self.original_exception = original_exception |
| 762 | super().__init__(description=description, response=response) |
| 763 | |
| 764 | |
| 765 | class NotImplemented(HTTPException): |
Callers
nothing calls this directly
Tested by
no test coverage detected