Class: NetworkHTTPError
a generic HTTP failure (405/500/502/503/504/etc.) that isn't one of the more specific cases below.
entity-not-found responses are handled separately and resolve to null. see the client docs.
Extends
Constructors
Constructor
ts
new NetworkHTTPError(
network: string,
message: string,
options?: object): NetworkHTTPError;Parameters
| Parameter | Type |
|---|---|
network | string |
message | string |
options | { cause?: unknown; status?: number; url?: string; } |
options.cause? | unknown |
options.status? | number |
options.url? | string |
Returns
NetworkHTTPError
Inherited from
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
network | readonly | string | NetworkAPIError.network |
status | readonly | number | undefined | NetworkAPIError.status |
url? | readonly | string | NetworkAPIError.url |