Skip to content
docs

RELAY_ERRORS

const RELAY_ERRORS: object

Defined in: relay.ts:35

readonly chainDisconnected: 4901 = 4901

readonly chainNotAdded: 4902 = 4902

EIP-3326/3085: the chain is not in the wallet (wallet_switchEthereumChain → suggest wallet_addEthereumChain).

readonly disconnected: 4900 = 4900

readonly internal: -32603 = -32603

readonly invalidParams: -32602 = -32602

readonly invalidRequest: -32600 = -32600

readonly limitExceeded: -32005 = -32005

EIP-1474: this origin has too many requests waiting.

readonly resourceUnavailable: -32002 = -32002

EIP-1474: a request of the same kind from this origin is already waiting (MetaMask’s “already pending”).

readonly unauthorized: 4100 = 4100

readonly unsupportedMethod: 4200 = 4200

readonly userRejected: 4001 = 4001