Every onError payload carries a code from the OverflowErrorCode union. The union is closed today but new codes are added in minor releases; always include a default branch when switching on it.
Codes
Switching on code
Wallet availability is not an error
A wallet’s device-availability probe reporting available: false on onChange is not an error. onError is reserved for actual failures during an active flow. Drive fallback rendering off onChange.
Shopper abandonment is not an error
When the shopper dismisses a wallet sheet or the bank-linking modal without authorizing, onExit fires. onError does not.
See also
Last modified on July 22, 2026