LayerError
The only error a layer source rejects with.
This is a class exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { LayerError } from "@mapcairn/core";
class LayerError extends Error
Constructors
(constructor)
constructor(kind: LayerErrorKind, message?: string);
Constructs a new instance of the LayerError class
kind(LayerErrorKind)message?(string)
Properties
kind
readonly kind: LayerErrorKind;
What went wrong: network, invalid, empty or aborted.