You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when connect is called and an error is returned from the wallet, a dapp receives only a UserRejectedRequestError object. However, the reasons for errors returned by the wallet are more diverse.
Currently, when
connect
is called and an error is returned from the wallet, a dapp receives only aUserRejectedRequestError
object. However, the reasons for errors returned by the wallet are more diverse.starknet-react/packages/core/src/connectors/injected.ts
Lines 129 to 147 in b89a2be
To allow the DApp to handle errors appropriately based on their specific cause, I propose that the wallet return the original error to a dapp.
The text was updated successfully, but these errors were encountered: