2019-08-21 15:12:35 +08:00
|
|
|
class BaseLibp2pError(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ValidationError(BaseLibp2pError):
|
2019-08-06 12:37:34 +08:00
|
|
|
"""
|
|
|
|
Raised when something does not pass a validation check.
|
|
|
|
"""
|
2019-08-26 20:35:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
class ParseError(BaseLibp2pError):
|
|
|
|
pass
|