MCPcopy Create free account
hub / github.com/pyca/cryptography / __init__

Method __init__

src/cryptography/exceptions.py:18–22  ·  view source on GitHub ↗
(
        self, message: str, reason: typing.Optional[_Reasons] = None
    )

Source from the content-addressed store, hash-verified

16
17class UnsupportedAlgorithm(Exception):
18 def __init__(
19 self, message: str, reason: typing.Optional[_Reasons] = None
20 ) -> None:
21 super().__init__(message)
22 self._reason = reason
23
24
25class AlreadyFinalized(Exception):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected