Files
py-libp2p/libp2p/crypto/exceptions.py
2024-02-19 16:05:58 -07:00

15 lines
279 B
Python

from libp2p.exceptions import (
BaseLibp2pError,
)
class CryptographyError(BaseLibp2pError):
pass
class MissingDeserializerError(CryptographyError):
"""
Raise if the requested deserialization routine is missing for some type
of cryptographic key.
"""