py-libp2p/libp2p/crypto/exceptions.py
2019-10-24 08:41:10 +02:00

13 lines
270 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."""
pass