mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
add comment
This commit is contained in:
parent
1d7d63141f
commit
27cc03178a
1 changed files with 13 additions and 13 deletions
|
|
@ -20,45 +20,45 @@ import "errors"
|
||||||
|
|
||||||
// List execution errors
|
// List execution errors
|
||||||
var (
|
var (
|
||||||
// ErrOutOfGas is returned when
|
// ErrOutOfGas is returned when gas is insufficient.
|
||||||
ErrOutOfGas = errors.New("out of gas")
|
ErrOutOfGas = errors.New("out of gas")
|
||||||
|
|
||||||
// ErrCodeStoreOutOfGas is returned when
|
// ErrCodeStoreOutOfGas is returned when gas is insufficient for making contract.
|
||||||
ErrCodeStoreOutOfGas = errors.New("contract creation code storage out of gas")
|
ErrCodeStoreOutOfGas = errors.New("contract creation code storage out of gas")
|
||||||
|
|
||||||
// ErrDepth is returned when
|
// ErrDepth is returned when max call depth exceeded.
|
||||||
ErrDepth = errors.New("max call depth exceeded")
|
ErrDepth = errors.New("max call depth exceeded")
|
||||||
|
|
||||||
// ErrTraceLimitReached is returned when
|
// ErrTraceLimitReached is returned when logs reached the specified limit.
|
||||||
ErrTraceLimitReached = errors.New("the number of logs reached the specified limit")
|
ErrTraceLimitReached = errors.New("the number of logs reached the specified limit")
|
||||||
|
|
||||||
// ErrInsufficientBalance is returned when
|
// ErrInsufficientBalance is returned when balance is insufficient for transfer.
|
||||||
ErrInsufficientBalance = errors.New("insufficient balance for transfer")
|
ErrInsufficientBalance = errors.New("insufficient balance for transfer")
|
||||||
|
|
||||||
// ErrContractAddressCollision is returned when
|
// ErrContractAddressCollision is returned when contract address collide.
|
||||||
ErrContractAddressCollision = errors.New("contract address collision")
|
ErrContractAddressCollision = errors.New("contract address collision")
|
||||||
|
|
||||||
// ErrNoCompatibleInterpreter is returned when
|
// ErrNoCompatibleInterpreter is returned when interpreter is not compatible.
|
||||||
ErrNoCompatibleInterpreter = errors.New("no compatible interpreter")
|
ErrNoCompatibleInterpreter = errors.New("no compatible interpreter")
|
||||||
|
|
||||||
// ErrBadPairingInput is returned if the bn256 pairing input is invalid.
|
// ErrBadPairingInput is returned if the bn256 pairing input is invalid.
|
||||||
ErrBadPairingInput = errors.New("bad elliptic curve pairing size")
|
ErrBadPairingInput = errors.New("bad elliptic curve pairing size")
|
||||||
|
|
||||||
// ErrWriteProtection is returned when
|
// ErrWriteProtection is returned when mode is readonly, it blocks writing.
|
||||||
ErrWriteProtection = errors.New("evm: write protection")
|
ErrWriteProtection = errors.New("evm: write protection")
|
||||||
|
|
||||||
// ErrReturnDataOutOfBounds is returned when
|
// ErrReturnDataOutOfBounds is returned when return data is out of bounds.
|
||||||
ErrReturnDataOutOfBounds = errors.New("evm: return data out of bounds")
|
ErrReturnDataOutOfBounds = errors.New("evm: return data out of bounds")
|
||||||
|
|
||||||
// ErrExecutionReverted is returned when
|
// ErrExecutionReverted is returned if execution is reverted.
|
||||||
ErrExecutionReverted = errors.New("evm: execution reverted")
|
ErrExecutionReverted = errors.New("evm: execution reverted")
|
||||||
|
|
||||||
// ErrMaxCodeSizeExceeded is returned when
|
// ErrMaxCodeSizeExceeded is returned when max code size is exceeded.
|
||||||
ErrMaxCodeSizeExceeded = errors.New("evm: max code size exceeded")
|
ErrMaxCodeSizeExceeded = errors.New("evm: max code size exceeded")
|
||||||
|
|
||||||
// ErrInvalidJump is returned when
|
// ErrInvalidJump is returned when jump destination is invalid.
|
||||||
ErrInvalidJump = errors.New("evm: invalid jump destination")
|
ErrInvalidJump = errors.New("evm: invalid jump destination")
|
||||||
|
|
||||||
// ErrGasUintOverflow is returned when
|
// ErrGasUintOverflow is returned when gas uint64 is overflow.
|
||||||
ErrGasUintOverflow = errors.New("gas uint64 overflow")
|
ErrGasUintOverflow = errors.New("gas uint64 overflow")
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue