• Creates NetworkError object for a failed network request

    Parameters

    • error: AuthError

      Error to be thrown back to the caller

    • Optional httpStatus: number

      Status code of the network request

    • Optional responseHeaders: Record<string, string>

      Response headers of the network request, when available

    Returns NetworkError

    NetworkError object

Generated using TypeDoc