Options
All
  • Public
  • Public/Protected
  • All
Menu

HighOrderError is high order error to wrap lower order error (like parsing).

see

https://www.pavolhejny.com/rozsirene-informace-o-chybach/

deprecated

use errorMessageWithAdditional instead

collboard-modules-sdk

Hierarchy

  • Error
    • HighOrderError

Index

Constructors

  • new HighOrderError(lowOrderError: Error, highOrderExplanation: string): HighOrderError
  • Parameters

    • lowOrderError: Error
    • highOrderExplanation: string

    Returns HighOrderError

Properties

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

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void