---
title: GeoJSONImportError
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/geojsonimporterror
---

# GeoJSONImportError

An error object that indicates an error occurred while importing a GeoJSON object.

## Declaration

```data
class GeoJSONImportError extends Error
```

## Discussion

Discussion The message property contains a string that describes the error.

## Relationships

### Inherits From

- Error

## See Also

### Geographical features

- [importGeoJSON(data, callback)](mapkitjs/mapkit/importgeojson.md)
- [GeoJSONDelegate](mapkitjs/geojsondelegate.md)
- [Item](mapkitjs/item.md)
- [ItemCollection](mapkitjs/itemcollection.md)
- [GeoJSONImporterCallback](mapkitjs/geojsonimportercallback.md)
- [Displaying Indoor Maps with MapKit JS](mapkitjs/displaying-indoor-maps-with-mapkit-js.md)
