AURA

Errors Overview

aura-core program error codes and troubleshooting

aura-core returns Anchor errors from the AuraCoreError enum, starting at code 6000. Domain-layer TreasuryErrors are mapped to these at the instruction boundary.

Error code range

All aura-core errors are in the 6000-6139 range (140 errors). Errors below 6000 are Anchor framework errors.

Error Categories

Common Patterns

Error Code Format

6XXX | ErrorName | Description

Handling Errors

Most errors include contextual information about what triggered them. Always check:

  • The specific instruction that failed
  • Account states involved
  • Policy rules that were violated
  • Resource limits that were exceeded

On this page