A network call failed — a rejected fetch, a timeout, an HTTP 4xx/5xx.
fetch
Code: NETWORK_ERROR. This is the type worth retrying; see "utils/general/helpers-namespace" for a backoff helper.
NETWORK_ERROR
throw new GeoLeaf.Errors.NetworkError("Failed to load POI data", { url: "/api/poi", status: 404, statusText: "Not Found",}); Copy
throw new GeoLeaf.Errors.NetworkError("Failed to load POI data", { url: "/api/poi", status: 404, statusText: "Not Found",});
Returns a string representation of an object.
A network call failed — a rejected
fetch, a timeout, an HTTP 4xx/5xx.Code:
NETWORK_ERROR. This is the type worth retrying; see "utils/general/helpers-namespace" for a backoff helper.Example