Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Indexable

[key: string]: unknown

Index

Constructors

constructor

  • new HttpError(code: number, message?: string): HttpError

Properties

expose

expose: boolean = false

message

message: string

name

name: string

Optional stack

stack: string

status

status: number

statusCode

statusCode: number

Static Error

Error: ErrorConstructor

Methods

toJSON

  • toJSON(): { message: string; name: string; status: number }

toString

  • toString(): string

Generated using TypeDoc