<!--
{
  "availability" : [
    "MapKit JS: 5.79.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/LookAroundErrorEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "type/mapkit.LookAroundErrorEvent"
  },
  "title" : "LookAroundErrorEvent"
}
-->

# LookAroundErrorEvent

A custom event object that contains information about the error when starting a Look Around view.

```
type LookAroundErrorEvent = CustomEvent<{
    type: LookAroundErrorType;
    message: string;
}>;
```

## Discussion

The event object describes the error with a [`LookAroundErrorType`](/documentation/MapKitJS/LookAroundErrorType) value and a message.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)