This class represents errors thrown by Angular HAL Client. It unifies errors produced by Angulat HTTP Client and errors originating in the API.

Hierarchy

  • Error
    • HalError

Indexable

[key: string]: any

XXX.

Constructors

Properties

cause?: unknown
error?: string

The description of the HTTP status.

message: string
name: string
path?: string

The URI path where the error originated.

stack?: string
status?: number

The HTTP status code of the error.

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc