Class ModuleVersionMismatchError

Error type indicating the token ID does not match the module version expected by the client.

Hierarchy

Constructors

Properties

code: INCORRECT_MODULE_VERSION = TokenErrorCode.INCORRECT_MODULE_VERSION
expectedRef: ModuleReference

The expected module reference.

foundRef: ModuleReference

The found module reference.

message: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get name(): string
  • Gets the name of the error, including its code.

    Returns

    The name of the error.

    Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc