ethereum.vm.error

Ethereum Virtual Machine (EVM) Errors

Introduction

Errors which cause the EVM to halt exceptionally.

Module Contents

StackUnderflowError

Occurs when a pop is executed on an empty stack.

exception ethereum.vm.error.StackUnderflowError

Bases: Exception

StackOverflowError

Occurs when a push is executed on a stack at max capacity.

exception ethereum.vm.error.StackOverflowError

Bases: Exception

OutOfGasError

Occurs when an operation costs more than the amount of gas left in the frame.

exception ethereum.vm.error.OutOfGasError

Bases: Exception