Skip to main content

Errors

Provider errors come in the form of a ProviderRpcError object:

interface ProviderRpcError extends Error {
message: string;
code: number;
data?: unknown;
}

For a full list of errors, see EIP-1474.