<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactItemChangeObserver/didFinishEnumeratingChangesWithError(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0A18ItemChangeObserverP36didFinishEnumeratingChangesWithErroryys0K0_pF"
  },
  "title" : "didFinishEnumeratingChangesWithError(_:)"
}
-->

# didFinishEnumeratingChangesWithError(_:)

Finishes the change enumeration with an error, indicating failure, to the observer.

```
func didFinishEnumeratingChangesWithError(_: any Error)
```

## Discussion

Use `ContactProviderError.changeAnchorExpired` to restart the content enumeration.

---

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)