Options
All
  • Public
  • Public/Protected
  • All
Menu

Thrown on HTTP response with a non-successful status code (4xx or 5xx).

Hierarchy

Index

Constructors

Properties

Constructors

  • Creates a new HTTP error.

    Parameters

    • message: string

      The error message.

    • status: HttpStatusCode

      The HTTP status code.

    • Optional data: any

      Additional error data.

    Returns HttpError

Properties

data?: any

Generated using TypeDoc