# UnsupportedSridError

The error for text in a spatial reference system other than
[`SUPPORTED_WKT_SRID`](https://docs.mapcairn.com/api/core/SUPPORTED_WKT_SRID.md). It is an `unsupported` [`GeometryError`](https://docs.mapcairn.com/api/core/GeometryError.md)
that also says which SRID, so a caller can tell it from the other things the
reader leaves out (a measure, a curve).

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

## Signature

```ts
import { UnsupportedSridError } from "@mapcairn/core";
 
class UnsupportedSridError extends GeometryError
```

## Constructors

### (constructor)

```ts
constructor(srid: number);
```

Constructs a new instance of the `UnsupportedSridError` class

- `srid` (`number`)

## Properties

### srid

```ts
readonly srid: number;
```

The SRID the text named.

## See also

- [`GeometryError`](https://docs.mapcairn.com/api/core/GeometryError.md)

Source: [packages/core/src/geometry/wkt.ts:125](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/geometry/wkt.ts#L125)
