Build
Architecture
protocol
contracts
evm
interfaces
IGatewayEVM.sol
Interface.igatewayevmerrors

Git Source (opens in a new tab)

Interface for the errors used in the GatewayEVM contract.

ExecutionFailed

Error for failed execution.

error ExecutionFailed();

DepositFailed

Error for failed deposit.

error DepositFailed();

InsufficientETHAmount

Error for insufficient ETH amount.

error InsufficientETHAmount();

InsufficientERC20Amount

Error for insufficient ERC20 token amount.

error InsufficientERC20Amount();

ZeroAddress

Error for zero address input.

error ZeroAddress();

ApprovalFailed

Error for failed token approval.

error ApprovalFailed();

CustodyInitialized

Error for already initialized custody.

error CustodyInitialized();

ConnectorInitialized

Error for already initialized connector.

error ConnectorInitialized();

NotWhitelistedInCustody

Error when trying to transfer not whitelisted token to custody.

error NotWhitelistedInCustody();

NotAllowedToCallOnCall

Error when trying to call onCall method using arbitrary call.

error NotAllowedToCallOnCall();

NotAllowedToCallOnRevert

Error when trying to call onRevert method using arbitrary call.

error NotAllowedToCallOnRevert();

PayloadSizeExceeded

Error indicating payload size exceeded in external functions.

error PayloadSizeExceeded();