HTTPError
classextends Error
Thrown for transport-level failures (network errors, timeouts, non-JSON responses).
Declaration
declare class HTTPError extends Error Properties
Methods
constructor(method: string, message: string, status?: number);Constructs a new instance of the HTTPError class