Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JmixRestError

Hierarchy

  • Error
    • JmixRestError

Index

Constructors

constructor

  • new JmixRestError(__namedParameters: { message: string; response?: Response }): JmixRestError
  • Parameters

    • __namedParameters: { message: string; response?: Response }
      • message: string
      • Optional response?: Response

    Returns JmixRestError

Properties

message

message: string

name

name: "JmixRestError" = ...

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

Optional response

response: Response

Optional stack

stack: string

stackTraceLimit

stackTraceLimit: number

Methods

captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc