Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OperationFailedAndReportedError

This exception is there to let the caller know that an error happened, but the error has already been reported by writing it to the database.

Hierarchy

  • Error
    • OperationFailedAndReportedError

Index

Constructors

constructor

  • Parameters

    • operationError: TalerErrorDetails

    Returns OperationFailedAndReportedError

Properties

message

message: string

name

name: string

operationError

operationError: TalerErrorDetails

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

Static fromCode

  • Parameters

    • ec: TalerErrorCode
    • message: string
    • details: Record<string, unknown>

    Returns OperationFailedAndReportedError

Generated using TypeDoc