Skip to main content

Interface: FailureClassification

The result of classifyFailure.

Properties​

PropertyModifierTypeDescription
outcomereadonly"rejected" | "unknown" | "not_queued" | "not_sent" | "invalid_input" | "transient"-
retryablereadonlybooleanMay the app offer the user Retry: repeat the operation as a NEW request (a fresh key for a write) without any risk of applying it twice? Always false for unknown (confirm the same key instead) and invalid_input (the same call fails again). It says a repeat is SAFE, not that it will succeed, and it is the SDK's floor: an app may still withhold Retry (the Gala Wallet does after a Dark swap: see isShadowError).