Exceptions

Introduction

The Ethereum specification exception classes.

Module Contents

EthereumException

The base class from which all exceptions thrown by the specification during normal operation derive.

exception EthereumException

Bases: Exception

InvalidBlock

Thrown when a block being processed is found to be invalid.

exception InvalidBlock

Bases: EthereumException

RLPDecodingError

Indicates that RLP decoding failed.

exception RLPDecodingError

Bases: InvalidBlock

RLPEncodingError

Indicates that RLP encoding failed.

exception RLPEncodingError

Bases: EthereumException