---
title: operationError
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentstoreasynchronousresult/operationerror
---

# operationError

An error that contains details if the asynchronous fetch request fails.

## Declaration

```swift
var operationError: (any Error)? { get }
```

## See Also

### Inspecting the Result

- [managedObjectContext](coredata/nspersistentstoreasynchronousresult/managedobjectcontext.md)
- [progress](coredata/nspersistentstoreasynchronousresult/progress.md)
