Function: toWalletError()
function toWalletError(err: unknown): Error;Defined in: wallet-adapter/src/failure.ts:104 (opens in a new tab)
What getSigner throws for a wallet's own failure: always an Error, with
the wallet's code kept, and a declined request as WalletRejectedError.
ParametersLink to this section
| Parameter | Type |
|---|---|
err | unknown |
ReturnsLink to this section
Error