Reference
Errors
Why a call reverts.
| Error | Meaning |
|---|---|
Reentered | A call tried to re-enter a guarded function |
AlreadyRegistered | This agent address already has an operator |
UnknownAgent | The agent is not registered, or the address is zero |
NotOperator | Only the operator can withdraw |
NotAgent | Only the agent key or the operator can do this |
NotUser | Only the user who created the task can cancel it |
BadTask | The terms are invalid, or the wrong execute function was used for this kind of task |
WrongStatus | The task is not in the status this call needs |
PastDeadline | Too late to accept or deliver |
NotPastDeadline | Too early to settle as failed |
BondTooLow | Free bond doesn't cover the compensation |
BondLocked | The withdrawal is more than the free bond |
BadRouter | This router was not fixed at deployment |
SwapFailed | The router call failed, or it spent more than the task's input |
BelowMinOut | The output was below the minimum |
TransferFailed | A token call failed, or a token took a fee on transfer |