Skip to content
Alchemy Logo

InvalidRpcUrlError

Defined in: aa-sdk/core/src/errors/client.ts:30

Represents an error that occurs when an invalid RPC URL is provided. This class extends the BaseError class and includes the invalid URL in the error message.

new InvalidRpcUrlError(rpcUrl?): InvalidRpcUrlError;

Defined in: aa-sdk/core/src/errors/client.ts:38

Creates an instance of an error with a message indicating an invalid RPC URL.

Parameters

ParameterTypeDescription

rpcUrl?

string

The invalid RPC URL that caused the error

Returns

InvalidRpcUrlError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"InvalidRpcUrlError"

version

string

VERSION

Was this page helpful?