axios-error-redact
    Preparing search index...

    Interface HttpErrorResponse

    Redacted response of Axios error

    interface HttpErrorResponse {
        fullURL: string;
        isErrorRedactedResponse: true;
        message: string;
        request: { baseURL: string; data: unknown; method: string; path: string };
        response: { data: unknown; statusCode?: number; statusMessage: string };
    }
    Index

    Properties

    fullURL: string

    full url of the request

    isErrorRedactedResponse: true

    whether the response is redacted

    message: string

    error message

    request: { baseURL: string; data: unknown; method: string; path: string }

    Type declaration

    • ReadonlybaseURL: string

      base url of the request

    • Readonlydata: unknown

      request data, redacted if set to true

    • Readonlymethod: string

      method of the request

    • Readonlypath: string

      path of the request

    response: { data: unknown; statusCode?: number; statusMessage: string }

    response details

    Type declaration

    • Readonlydata: unknown

      response data, redacted if set to true

    • Optional ReadonlystatusCode?: number

      status code of the response

    • ReadonlystatusMessage: string

      status message of the response