Skip to main content

LayerErrorKind

Why a layer could not load: the request failed (network), the response could not be decoded (invalid), it held no features (empty, which only load and loadDetail use: identify resolves to an empty list), or the caller cancelled it (aborted, which callers ignore).

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { LayerErrorKind } from "@mapcairn/core";

type LayerErrorKind = "network" | "invalid" | "empty" | "aborted";

Source: packages/core/src/ports/errors.ts:51