Skip to main content

FeatureQueryError

The only error a feature query rejects with.

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

Signature​

import { FeatureQueryError } from "@mapcairn/core";

class FeatureQueryError extends Error

Constructors​

(constructor)​

constructor(kind: FeatureQueryErrorKind, message?: string);

Constructs a new instance of the FeatureQueryError class

  • kind (FeatureQueryErrorKind)
  • message? (string)

Properties​

kind​

readonly kind: FeatureQueryErrorKind;

What went wrong: network, invalid, unsupported or aborted.

See also​

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