title: How to handle a CoreData crash in iOS Swift?
body: <p>I need to handle a core data crash. My code got crashed on the managedObjectContext.save().
  But catch block did not catch any exception. To avoid the crash how can I write my Catch block better Here is my code.</p>
  
  <pre><code>do {
        try managedObjectContext.save()              
     } 
  catch let error as NSError {
        Print.print("Error saving data store: \(error)")
       }
  </code></pre>