Hierarchy

  • Error
    • WrapError

Constructors

  • Parameters

    Returns WrapError

Properties

args?: string
cause?: unknown
innerError?: WrapError
message: string
method?: string
name: string
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
_parse: any
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

re: any
sanitizeUnwrappedRustResult: any
stackTraceLimit: number
stringify: any
stringifyCause: any

Methods

  • Returns string

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • Parameters

    • error: string

    Returns undefined | WrapError

Generated using TypeDoc