github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/core/vm/errors.go (about) 1 package vm 2 3 import "errors" 4 5 var ( 6 ErrOutOfGas = errors.New("out of gas") 7 ErrCodeStoreOutOfGas = errors.New("contract creation code storage out of gas") 8 ErrDepth = errors.New("max call depth exceeded") 9 ErrTraceLimitReached = errors.New("the number of logs reached the specified limit") 10 ErrInsufficientBalance = errors.New("insufficient balance for transfer") 11 ErrContractAddressCollision = errors.New("contract address collision") 12 ErrNoCompatibleInterpreter = errors.New("no compatible interpreter") 13 14 ErrWriteProtection = errors.New("write protection") 15 ErrReturnDataOutOfBounds = errors.New("return data out of bounds") 16 ErrExecutionReverted = errors.New("execution reverted") 17 ErrMaxCodeSizeExceeded = errors.New("max code size exceeded") 18 ErrInvalidJump = errors.New("invalid jump destination") 19 )