py-libp2p/libp2p/crypto/exceptions.py

13 lines
270 B
Python
Raw Normal View History

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."""
pass