Is there a documentation page which lists the possible errors that one can receive when attempting to load the persistent stores? I can't seem to find that.
Post
Replies
Boosts
Views
Activity
That line refers to a defer closure which makes the call to load the persistent store:
defer {
self.persistentContainer?.loadPersistentStores { _, error in
if let error = error {
fatalError("Failed to load store: \(error)")
}
}
}