lib-ethers.unsupportednetworkerror

Home > @mosaic/lib-ethers > UnsupportedNetworkError

UnsupportedNetworkError class

Thrown when trying to connect to a network where Mosaic is not deployed.

Signature:

export declare class UnsupportedNetworkError extends Error 

Extends: Error

Remarks

Thrown by ReadableEthersMosaic.connect() and EthersMosaic.connect().

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the UnsupportedNetworkError class.

Properties

PropertyModifiersTypeDescription

number

Chain ID of the unsupported network.

Last updated