Interface: FailureClassification
The result of classifyFailure.
classify failure
Properties
| Property | Modifier | Type | Description |
|---|
outcome | readonly | "rejected" | "unknown" | "not_queued" | "not_sent" | "invalid_input" | "transient" | - |
retryable | readonly | boolean | May 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). |
not queued sent invalid input is shadow error