Error Codes

API and desktop share user-facing codes where mapped.

Network

CodeMeaning
NET_001Cannot connect to Zebrad
NET_002Timeout
NET_003Generic network error
NET_004Node unavailable

Wallet / auth

CodeMeaning
AUTH_001Wrong password
WALLET_001Locked
WALLET_002Not found
WALLET_003Invalid mnemonic

Send / sync

CodeMeaning
SEND_001Insufficient balance
SEND_002Invalid address
SYNC_001Sync failed
PROVE_001Proving failed

Backend

CodeMeaning
BACKEND_001Command not registered (desktop)
RUNTIME_001Non-Tauri host

Full desktop map: desktop-client/src/utils/errors.ts.

Human guide: Error Messages.

Zebra connect codes: nozy::zebra_connect_api_code() in Rust backend.