Error reference
CTokenErrorCode contains these codes. Wallet/RPC errors may propagate directly; retain their causes for diagnostics. humanizeError(null/undefined) returns null. Never automatically retry a declined signature.
Confidential-network failures
humanizeError converts threshold/quorum and failed KMS-client errors into: The confidential network couldn’t complete the request. Please try again shortly.
Original errors remain available for diagnostics. Wallet declines, timeouts, and rate limits also receive concise messages.
Widgets offer explicit balance retries and keep failed balances unavailable. Persistent failures need investigation of the original cause; do not automatically resubmit transactions.