mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
31 lines
516 B
Python
Executable File
31 lines
516 B
Python
Executable File
class EncodingError(Exception):
|
|
pass
|
|
|
|
|
|
class EncodingTypeError(EncodingError):
|
|
"""
|
|
Raised when trying to encode a value which is of the wrong type for the
|
|
desired encoding type.
|
|
"""
|
|
pass
|
|
|
|
|
|
class ValueOutOfBounds(EncodingError):
|
|
"""
|
|
Raised when trying to encode a value which is out bounds for the desired
|
|
type.
|
|
"""
|
|
pass
|
|
|
|
|
|
class DecodingError(Exception):
|
|
pass
|
|
|
|
|
|
class InsufficientDataBytes(DecodingError):
|
|
pass
|
|
|
|
|
|
class NonEmptyPaddingBytes(DecodingError):
|
|
pass
|