Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface describing what an HttpError class should look like. This helps us make sure all HttpError classes have the same utility static functions.

Type parameters

  • TCode: number = number

Hierarchy

  • HttpErrorClass

Index

Constructors

Properties

Methods

Constructors

Properties

statusCode: TCode

The status code corresponding to this error class.

uri: NamedNode<string>

A unique URI identifying this error class.

Methods

  • isInstance(error: any): error is HttpError<TCode>