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

ErrorLib

Git Source

Author: Mure

Library with errors for Mure v2 contracts

Errors

NotAuthorizedProtocol

error NotAuthorizedProtocol();

OrderExpired

error OrderExpired();

NoInputsProvided

error NoInputsProvided();

NoCallsProvided

error NoCallsProvided();

ZeroInputAmount

error ZeroInputAmount();

OrderIdMismatch

error OrderIdMismatch();

NonceAlreadyUsed

error NonceAlreadyUsed();

OrderAlreadyExecuted

error OrderAlreadyExecuted();

OutputAlreadyFulfilled

error OutputAlreadyFulfilled();

CallFailed

error CallFailed(uint256 callIndex, bytes returnData);

InsufficientNativeToken

Revert when insufficient native token provided

error InsufficientNativeToken(uint256 provided, uint256 required);

NativeAmountMismatch

error NativeAmountMismatch();

TransferFailed

error TransferFailed();

InvalidCallTarget

error InvalidCallTarget();

IllegalAmountTransferred

error IllegalAmountTransferred();

InsufficientAllowance

error InsufficientAllowance();

InsufficientTokenBalance

error InsufficientTokenBalance(address token, uint256 expected, uint256 actual);

NativeBalanceNotZero

error NativeBalanceNotZero();

TokenBalanceNotZero

error TokenBalanceNotZero(address token);

InvalidCallSignature

error InvalidCallSignature();