MCPcopy
hub / github.com/pallets/werkzeug / __init__

Method __init__

src/werkzeug/exceptions.py:752–762  ·  view source on GitHub ↗
(
        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
765class NotImplemented(HTTPException):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected