ethereum.exceptions
Error types common across all Ethereum forks.
EthereumException ¶
Base class for all exceptions expected to be thrown during normal operation.
class EthereumException:
InvalidBlock ¶
Thrown when a block being processed is found to be invalid.
class InvalidBlock:
StateWithEmptyAccount ¶
Thrown when the state has an empty account.
class StateWithEmptyAccount:
InvalidTransaction ¶
Thrown when a transaction being processed is found to be invalid.
class InvalidTransaction:
InvalidSenderError ¶
Thrown when a transaction originates from an account that cannot send transactions.
class InvalidSenderError:
InvalidSignatureError ¶
Thrown when a transaction has an invalid signature.
class InvalidSignatureError:
InsufficientBalanceError ¶
Thrown when a transaction cannot be executed due to insufficient sender funds.
class InsufficientBalanceError:
NonceMismatchError ¶
Thrown when a transaction's nonce does not match the expected nonce for the sender.
class NonceMismatchError:
GasUsedExceedsLimitError ¶
Thrown when a transaction's gas usage exceeds the gas available in the block.
class GasUsedExceedsLimitError:
InsufficientTransactionGasError ¶
Thrown when a transaction does not provide enough gas to cover its intrinsic cost.
class InsufficientTransactionGasError:
NonceOverflowError ¶
Thrown when a transaction's nonce is greater than 2**64 - 2.
class NonceOverflowError: