Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new CustomerFetchFailed(message?: string, properties?: Record<string, unknown>): CustomerFetchFailed

Properties

message

message: string = 'Could not fetch customer report'

name

name: string = 'CustomerFetchFailed'

Optional properties

properties: Record<string, unknown>

Optional stack

stack: string

Static Optional prepareStackTrace

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Legend

  • Variable
  • Function
  • Type alias
  • Class
  • Constructor
  • Property
  • Enumeration
  • Interface
  • Inherited property

Generated using TypeDoc