ethereum.exceptions
Exceptions ^^^^^^^^^^
.. contents:: Table of Contents :backlinks: none :local:
Introduction
The Ethereum specification exception classes.
1""" 2Exceptions 3^^^^^^^^^^ 4 5.. contents:: Table of Contents 6 :backlinks: none 7 :local: 8 9Introduction 10------------ 11 12The Ethereum specification exception classes. 13""" 14 15 16class EthereumException(Exception): 17 """ 18 The base class from which all exceptions thrown by the specification during 19 normal operation derive. 20 """ 21 22 23class InvalidBlock(EthereumException): 24 """ 25 Thrown when a block being processed is found to be invalid. 26 """ 27 28 29class RLPDecodingError(InvalidBlock): 30 """ 31 Indicates that RLP decoding failed. 32 """ 33 34 35class RLPEncodingError(EthereumException): 36 """ 37 Indicates that RLP encoding failed. 38 """
class
EthereumException(builtins.Exception):
17class EthereumException(Exception): 18 """ 19 The base class from which all exceptions thrown by the specification during 20 normal operation derive. 21 """
The base class from which all exceptions thrown by the specification during normal operation derive.
Inherited Members
- builtins.BaseException
- with_traceback
24class InvalidBlock(EthereumException): 25 """ 26 Thrown when a block being processed is found to be invalid. 27 """
Thrown when a block being processed is found to be invalid.
Inherited Members
- builtins.BaseException
- with_traceback
Indicates that RLP decoding failed.
Inherited Members
- builtins.BaseException
- with_traceback
Indicates that RLP encoding failed.
Inherited Members
- builtins.BaseException
- with_traceback