Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AddressErrors

Git Source

Errors

InsufficientFunds

Could not execute an output, because the application contract doesn't have enough Ether.

error InsufficientFunds(uint256 value, uint256 balance);

Parameters

NameTypeDescription
valueuint256The amount of Wei necessary for the execution of the output
balanceuint256The current application contract balance

TargetHasNoCode

Could not execute an output, because the target account doesn't have any code.

error TargetHasNoCode(address target);

Parameters

NameTypeDescription
targetaddressThe target account address