Hierarchy

  • Error
    • WrapError

Constructors

Properties

args?: string
cause?: unknown
innerError?: WrapError
message: string
method?: string
name: string = "WrapError"
reason: string
resolutionStack?: CleanResolutionStep
source?: Readonly<{
    col?: number;
    file?: string;
    row?: number;
}>

Type declaration

  • Optional col?: number
  • Optional file?: string
  • Optional row?: number
stack?: string
uri: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

re: RegExp = ...
stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc