lib-ethers.unsupportednetworkerror
Last updated
Last updated
Home > @mosaic/lib-ethers > UnsupportedNetworkError
Thrown when trying to connect to a network where Mosaic is not deployed.
Signature:
Extends: Error
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.
number
Chain ID of the unsupported network.