Interface: FailureClassification
gSwap SDK 2.0.0-rc.4 / FailureClassification
Interface: FailureClassification
Defined in: packages/gswap-sdk/dist/index.d.ts:3965
The result of classifyFailure.
Properties
outcome
readonlyoutcome:"rejected"|"unknown"|"not_queued"|"not_sent"|"invalid_input"|"transient"
Defined in: packages/gswap-sdk/dist/index.d.ts:3966
retryable
readonlyretryable:boolean
Defined in: packages/gswap-sdk/dist/index.d.ts:3974
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).