typescript-sdk

Home > @3rdweb/sdk > InvariantError

InvariantError class

Error that may get thrown when an invariant assummption fails.

Signature:

export declare class InvariantError extends Error 

Extends: Error

Remarks

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