Errors
This file documents the different errors that can be emitted by the different Connect packages. It can be done through a
throw
/ catch
, or by passing the error object directly (in the React API).Extends:
Error
An unexpected error happened. This error should generally be avoided and replaced by a specific error type.
The resource doesn’t seem to be valid. A typical case for this is that an invalid parameter type has been passed to a function.
Extends:
ErrorException
The resource is not supported. For example, when trying to enable a connector that doesn’t exist.
Extends:
ErrorException
The resource couldn’t be found.
Extends:
ErrorException
An error happened while communicating with a remote server. This is a general error that can be emitted when a remote connection fails in some way.
Extends:
ErrorException
The resource doesn’t correspond to the expected result.
Extends:
ErrorException
The Ethereum provider doesn’t seem to be valid.
Extends:
ErrorInvalid
The Ethereum address or ENS domain doesn’t seem to be valid.
Extends:
ErrorInvalid
The network doesn’t seem to be valid.
Extends:
ErrorInvalid
The connector doesn’t seem to be valid.
Extends:
ErrorInvalid
The value doesn’t to be an app.
Extends:
ErrorInvalidApp
Unsifficient balance on the account.
Extends:
ErrorException
Last modified 4mo ago