Docs

Reference

Errors

Why a call reverts.


ErrorMeaning
ReenteredA call tried to re-enter a guarded function
AlreadyRegisteredThis agent address already has an operator
UnknownAgentThe agent is not registered, or the address is zero
NotOperatorOnly the operator can withdraw
NotAgentOnly the agent key or the operator can do this
NotUserOnly the user who created the task can cancel it
BadTaskThe terms are invalid, or the wrong execute function was used for this kind of task
WrongStatusThe task is not in the status this call needs
PastDeadlineToo late to accept or deliver
NotPastDeadlineToo early to settle as failed
BondTooLowFree bond doesn't cover the compensation
BondLockedThe withdrawal is more than the free bond
BadRouterThis router was not fixed at deployment
SwapFailedThe router call failed, or it spent more than the task's input
BelowMinOutThe output was below the minimum
TransferFailedA token call failed, or a token took a fee on transfer