Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CodewarsInternalServerError

Hierarchy

Index

Constructors

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

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: "Internal Server Error -- We had a problem with our server. Try again later." = 'Internal Server Error -- We had a problem with our server. 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