Skip to main content
Each table mirrors the Rust #[error_code] enum exactly. For kimia-perp, codes are explicitly pinned at the start of each bucket; Anchor auto-increments within a bucket, so a code number not listed here is not used.

kimia-perp

Defined in Perp-engine/programs/kimia-perp/src/errors.rs.

Oracle

Market

Margin

Position

Funding

Liquidation

Deposit / Withdraw

Math / Auth

Slippage / Insurance

Orderbook

Spot pool

delta-vault

Defined in Programs/programs/delta-vault/src/errors.rs. Codes auto-increment from 6000 in the order shown.

split-engine

Defined in Programs/programs/split-engine/src/errors.rs.

yield-amm

Defined in Programs/programs/yield-amm/src/errors.rs.

intent-router

Defined in Programs/programs/intent-router/src/errors.rs.