Skip to main content

MountMapError

What drawing a map, its handle and an element's definition throw for a call that cannot work. The message says what to do about it.

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

Signature​

import { MountMapError } from "@mapcairn/sdk/browser";

class MountMapError extends Error

Constructors​

(constructor)​

constructor(kind: MountMapErrorKind, message: string);

Constructs a new instance of the MountMapError class

  • kind (MountMapErrorKind)
  • message (string)

Properties​

kind​

readonly kind: MountMapErrorKind;

Which kind of failure it was.

See also​