mac-cain13 / CoreDataKit

CoreDataKit makes common operations on objects and importing into CoreData a breeze.
MIT License
36 stars 17 forks source link

Created a custom CoreDataKitError enum. #21

Closed tomlokhorst closed 9 years ago

tomlokhorst commented 9 years ago

Instead of using throwing opaque NSErrors, use CoreDataKitError. This makes errors more obvious and issues more easily be debugged.

Two properties have been added for backward compatibility: CoreDataKitError.nsError for creating NSErrors, and NSError.coreDataKitError for getting a CoreDataKitError back out of an NSError.