2019-09-25 00:38:59 +08:00
|
|
|
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
|
|
|
|
|
|
class CryptographyError(BaseLibp2pError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class MissingDeserializerError(CryptographyError):
|
2019-10-24 14:41:10 +08:00
|
|
|
"""Raise if the requested deserialization routine is missing for some type
|
|
|
|
of cryptographic key."""
|
2019-09-25 00:38:59 +08:00
|
|
|
|
|
|
|
pass
|