Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "utils/finalHandler"

Index

Variables

Const DOUBLE_SPACE_REGEXP

DOUBLE_SPACE_REGEXP: RegExp = /\x20{2}/g

Const NEWLINE_REGEXP

NEWLINE_REGEXP: RegExp = /\n/g

Functions

Private createHtmlDocument

  • createHtmlDocument(message: string): string

finalHandler

Private getErrorHeaders

  • getErrorHeaders(err?: any): any

Private getErrorMessage

  • getErrorMessage(err: any, status: Status): string

Private getErrorStatusCode

  • getErrorStatusCode(err: any): number | undefined

Private getResourceName

Private getResponseStatusCode

Private send

Private setHeaders

Generated using TypeDoc