AngularTS
    Preparing search index...

    Class HttpError<T>

    Error used when $http receives a non-success response.

    Type Parameters

    • T

    Hierarchy

    • Error
      • HttpError

    Implements

    Index

    Constructors

    Properties

    cause?: unknown

    Request configuration that produced this response.

    data: T

    Parsed response body.

    Lazy response header reader.

    message: string
    name: string
    response: HttpResponse<T>
    stack?: string
    status: number

    Numeric HTTP status code. Non-2xx statuses reject the promise.

    statusText: string

    Native status text such as OK or Not Found.

    xhrStatus: HttpResponseStatus

    Transport completion status. Useful for distinguishing timeout, abort, and network errors.

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error