<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactProviderError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0aB5ErrorO"
  },
  "title" : "ContactProviderError"
}
-->

# ContactProviderError

Errors thrown by the Contact Provider framework.

```
enum ContactProviderError
```

## Topics

### Availability errors

[`case featureNotAvailable`](/documentation/ContactProvider/ContactProviderError/featureNotAvailable)

The extension can’t run because the feature isn’t available.

[`case deniedByUser`](/documentation/ContactProvider/ContactProviderError/deniedByUser)

The person using the app denied the action.

### Configuration errors

[`case extensionNotFound`](/documentation/ContactProvider/ContactProviderError/extensionNotFound)

The framework couldn’t discover the app’s extension.

### Capacity errors

[`case itemsLimitReached`](/documentation/ContactProvider/ContactProviderError/itemsLimitReached)

Limit of items has been reached.

### Enumeration errors

[`case cannotEnumerate`](/documentation/ContactProvider/ContactProviderError/cannotEnumerate)

The extension is unable to enumerate.

[`case enumerationTimeout`](/documentation/ContactProvider/ContactProviderError/enumerationTimeout)

The extension enumeration timed out.

### Expiration errors

[`case pageExpired`](/documentation/ContactProvider/ContactProviderError/pageExpired)

The page expired and is no longer valid.

[`case changeAnchorExpired`](/documentation/ContactProvider/ContactProviderError/changeAnchorExpired)

The change anchor expired and is no longer valid.

### Invalidation errors

[`case extensionInvalidated`](/documentation/ContactProvider/ContactProviderError/extensionInvalidated)

The app invalidated the extension while it was enumerating content or changes.

[`case extensionInvalidateTimeout`](/documentation/ContactProvider/ContactProviderError/extensionInvalidateTimeout)

The extension invalidate operation timed out.

### Hashing

### Enumeration Cases

[`case domainNotRegistered`](/documentation/ContactProvider/ContactProviderError/domainNotRegistered)

The domain has not been registered.

## Relationships

### Conforms To

[`CustomNSError`](/documentation/Foundation/CustomNSError)

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Error`](/documentation/Swift/Error)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

---

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)