Skip to main content
All x0 error codes follow a structured numbering scheme for easy identification: Within each category, subcategories follow a consistent pattern:

X0GuardError

Policy Errors (0x1100)

Policy Configuration Errors (0x1110)

Transfer Errors (0x1120)

Medium Severity Errors (0x1140)


X0EscrowError

State Errors (0x1108)

Configuration Errors (0x1200)

Operation Errors (0x1210)


X0RegistryError


X0ReputationError


X0TokenError

Token Errors (0x1500)

Confidential Transfer Errors (0x1506)


X0WrapperError

State Errors (0x1600)

Reserve & Invariant Errors (0x1610)

Amount & Fee Errors (0x1620)

Authorization Errors (0x1630)

Timelock Errors (0x1640)


X0ZkVerifierError

Proof Verification Errors (0x1700)

Parameter Validation Errors (0x1710)

Math Errors (0x1720)


Unified X0Error

For cross-program invocations, errors are wrapped in a unified type:

Handling Errors in the SDK

Last modified on February 8, 2026