Type Parameters

Hierarchy

  • Error
    • InvariantError

Constructors

Properties

cause?: unknown
details: {
    data: Readonly<M[keyof M & string]>;
    description: string;
    name: keyof M & string;
    target: CommandTarget;
}

Type declaration

  • data: Readonly<M[keyof M & string]>
  • description: string
  • name: keyof M & string
  • target: CommandTarget
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc