Skip to main content

LocationError

The only error a location provider throws, apart from PortAbortError.

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

Signature​

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

class LocationError extends Error

Constructors​

(constructor)​

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

Constructs a new instance of the LocationError class

  • kind (LocationErrorKind)
  • message? (string)

Properties​

kind​

readonly kind: LocationErrorKind;

Why no fix was found: denied, unavailable or timeout.

See also​

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