Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CodewarsServiceUnavailable

Hierarchy

Index

Constructors

  • new CodewarsServiceUnavailable(message: string, code?: 400 | 401 | 403 | 404 | 405 | 406 | 422 | 429 | 500 | 503): CodewarsServiceUnavailable

Properties

code?: 400 | 401 | 403 | 404 | 405 | 406 | 422 | 429 | 500 | 503
message: string
name: string
stack?: string
code: 400 | 401 | 403 | 404 | 405 | 406 | 422 | 429 | 500 | 503 = ...
meaning: "Service Unavailable -- We're temporarily offline for maintenance. Please try again later." = "Service Unavailable -- We're temporarily offline for maintenance. Please try again later."
stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

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

Generated using TypeDoc