Nevis Mobile Authentication SDK React Native plugin
    Preparing search index...

    Class HttpErrorAbstract

    The object describing an HTTP error.

    Index

    Methods

    • Alternate constructor that creates an HttpError from a json.

      Parameters

      • json: any

        contains the source for instance creation.

      Returns HttpError

      an HttpError instance.

    Properties

    statusCode?: number

    The HTTP status code returned by the server, if known.

    requestUrl?: string

    The exact URL of the request that failed, if known.

    body?: string

    The body of the HTTP response, if any.

    headers?: ResponseHeaders

    The headers of the HTTP response, if any.

    method?: string

    The HTTP method of the request that failed, if any.

    underlying?: string

    The underlying error, if any, that led to this error.