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.
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, andNSError.coreDataKitError
for getting a CoreDataKitError back out of an NSError.