Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpError

An error message that sets the HTTP status code. When an operation passes a HttpError to it's callback, the HttpStatusCode is used to set the status of the HTTP response. The details of the error are not passed to the client.

Hierarchy

Implements

  • Error

Index

Constructors

Properties

Constructors

constructor

Properties

message

message: string

A human readable message explaining the reason for the error.

name

name: string

The name of the error.

stack

stack: string

The stack trace.

statusCode

statusCode: HttpStatusCode

The HTTP status code.

Generated using TypeDoc