Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • SwaggerException

Index

Constructors

  • new SwaggerException(message: string, status: number, response: string, headers: {}, result: any): SwaggerException
  • Parameters

    • message: string
    • status: number
    • response: string
    • headers: {}
      • [key: string]: any
    • result: any

    Returns SwaggerException

Properties

headers: {}

Type declaration

  • [key: string]: any
isSwaggerException: boolean
message: string
name: string
response: string
result: any
stack?: string
status: number
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

  • Parameters

    • obj: any

    Returns obj is SwaggerException

Generated using TypeDoc