Skip to main content

MapEngineErrorReason

Why a map engine failed: it could not start without WebGL, it could not load, it stopped working after it had loaded, toImage could not produce an image (export-failed).

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

Signature​

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

type MapEngineErrorReason = "webgl-unavailable" | "load-failed" | "stopped" | "export-failed";

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