---
title: MKError
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mkerror
---

# MKError

Error constants for the MapKit framework.

## Declaration

```swift
struct MKError
```

## Topics

### Error codes

- [decodingFailed](mapkit/mkerror/decodingfailed.md)
- [directionsNotFound](mapkit/mkerror/directionsnotfound.md)
- [loadingThrottled](mapkit/mkerror/loadingthrottled.md)
- [placemarkNotFound](mapkit/mkerror/placemarknotfound.md)
- [serverFailure](mapkit/mkerror/serverfailure.md)
- [unknown](mapkit/mkerror/unknown.md)
- [MKError.Code](mapkit/mkerror/code.md)

### Type Properties

- [errorDomain](mapkit/mkerror/errordomain.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Errors

- [MKErrorDomain](mapkit/mkerrordomain.md)
- [MKError.Code](mapkit/mkerror/code.md)
