GeometryError
The only error the geometry helpers throw.
This is a class exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { GeometryError } from "@mapcairn/core";
class GeometryError extends Error
Constructors
(constructor)
constructor(kind: GeometryErrorKind, message?: string | Message);
Constructs a new instance of the GeometryError class
kind(GeometryErrorKind)message?(string | Message)
Properties
description
readonly description: Message | undefined;
What went wrong as a message to format with the active catalogue, when the
fault is one a person can act on (a fault in WKT text they typed or
opened). message carries the same words in English, for logs.
kind
readonly kind: GeometryErrorKind;
Which rule the input broke: invalid, empty or unsupported.