class HttpError
extends Error

Error for a failed HTTP request.

Constructors

new
HttpError(details: { url: URL; method: string; status?: number; reason: string; isRetryable: boolean; isRateLimited: boolean; retryAfter?: number; })

Properties

name: string

Usage

import { HttpError } from ".";