error
The default merge policy for all managed object contexts.
Declaration
class var error: NSMergePolicy { get }Discussion
If a save fails because of conflicting objects, you can find the IDs of those objects in error’s userInfo dictionary. Use the NSInsertedObjectsKey and NSUpdatedObjectsKey keys to extract the object IDs.