Options
All
  • Public
  • Public/Protected
  • All
Menu

Error getting thrown if the server processing request throws an error. This is not a client error.

Hierarchy

  • Error
    • ErrorInternalServer

Index

Constructors

  • Parameters

    • Optional message: string

    Returns ErrorInternalServer

Properties

code: number = 500
message: string = "Something on the server happened that made it impossible to resolve the request."
name: string = "Internal Server Error"
stack?: string
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

Generated using TypeDoc