Skip to main content

Stable mapping

Exit codeTypeMeaning
0successCommand succeeded
1internal_errorInternal execution error
2usage_errorInvalid command or flags
10auth_errorMissing/invalid provider key
11rate_limitedProvider throttling
12provider_unavailableProvider unavailable
13unsupportedUnsupported input/provider pair
14stale_dataStale data beyond configured budget
15partial_resultsPartial results with --strict
16command_blockedBlocked by --enable-commands policy
20action_plan_errorExecution plan validation failed
21action_simulation_errorExecution simulation failed
22action_policy_errorExecution blocked by safety policy, including OWS policy denials
23action_timeoutExecution timed out waiting for chain/provider state
24signer_errorSigner unavailable or signing failed

Error handling recommendation

  • Parse stderr envelope on non-zero exits.
  • Branch logic on error.code.
  • Use retries only for transient types (11, 12).
  • For execution commands, treat 23 as potentially recoverable (for example increase --step-timeout/--timeout and retry).