Developers
Errors
Every custom error the program returns, what it means, and what to do about it. The app shows the same words when a simulation fails.
The program fails with Custom(n). Errors from Save, Orca or the token program come back under those programs' IDs; the app names the step that failed.
Program
| Code | Name | Meaning |
|---|---|---|
| 1 | Unauthorized | Only the account owner can do this, or a required signature is missing. |
| 2 | InvalidPda | An account address doesn't match this deployment. |
| 3 | InvalidToken | A token account is missing, or has the wrong mint, owner, delegate or close authority. |
| 4 | InvalidConfig | The adapter registry or the account list doesn't match. |
| 5 | Paused | The pool is paused. Repaying, unwinding and lender withdrawals still work. |
| 6 | ZeroAmount | The amount is zero, rounds to zero, or falls below your minimum. |
| 7 | Illiquid | The pool doesn't hold that much cash right now. |
| 8 | Unhealthy | Health would end below 1.10; for a liquidation, the account isn't below 1.00. |
| 9 | SessionActive | A move is already in progress on this account. |
| 10 | SessionMissing | No move is in progress for this step. |
| 11 | InvalidSequence | The instructions between begin and end aren't an allowed sequence. |
| 12 | InvalidEnd | end is missing, in the wrong place, or has arguments its mode doesn't allow. |
| 13 | NoRepayment | A liquidation would repay nothing. |
| 14 | HealthWorsened | A partial liquidation would lower collateral ÷ debt. |
| 15 | PositionsRemain | Save receipts or LP tokens remain; unwind them first. |
| 16 | Seated | The bond holds a council seat, so it stays locked; or the member already holds a seat. |
| 17 | StakeTooSmall | The bond is smaller than a seat needs (1,000,000 YOKE), or than the amount to unbond. |
| 18 | NoQuorum | A pause needs three to five seated members signing, each once. |
Adapters
| Code | Meaning |
|---|---|
| 700 | A target account doesn't match the registered layout. |
| 701 | A target program was upgraded since registration, so its adapter is closed. |
| 702 | An amount hit an arithmetic limit. |
| 703 | Unsupported step, or a zero amount. |
| 704 | A step returned less, or spent more, than your limits allow. Try again or widen the slippage limit. |