Hierarchy (view full)

Constructors

  • Parameters

    • message: string

      The error message to explain what happens.

    • where: string

      Where the error occurred.

    Returns CommandHandlerError

Properties

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number
cause?: unknown
date: Date

When the error occurred.

message: string
name: string
stack?: string
where: string

Where the error occurred.

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc