Better Payment 0.11.1 API
    Preparing search index...

    Class HttpError

    Error thrown by HttpClient.

    • response is set when the server answered with a status that failed validateStatus.
    • isNetworkError is set when no response was received (timeout, connection reset, DNS failure). The provider may still have processed the request.
    • config is the request without its body and headers: they carry card data and credentials, and the error is passed to the logger.

    Hierarchy

    • Error
      • HttpError
    Index
    • Parameters

      Returns HttpError

    code?: string

    Transport error code, e.g. ETIMEDOUT or ECONNRESET

    isNetworkError: boolean
    message: string
    name: string
    response?: HttpResponse<unknown>
    stack?: string