# 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/map`, checked against version 0.2.0.

## Signature

```ts
import { MountMapError } from "@mapcairn/map";
 
class MountMapError extends Error
```

## Constructors

### (constructor)

```ts
constructor(kind: MountMapErrorKind, message: string);
```

Constructs a new instance of the `MountMapError` class

- `kind` (`MountMapErrorKind`)
- `message` (`string`)

## Properties

### kind

```ts
readonly kind: MountMapErrorKind;
```

Which kind of failure it was.

## See also

- [`MountMapErrorKind`](https://docs.mapcairn.com/api/map/MountMapErrorKind.md)

Source: [packages/map/src/element/MountMapError.ts:25](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/element/MountMapError.ts#L25)
