Disk
Disk copied to clipboard
Improve catching of Swift Errors.
Use NS_ERROR_ENUM and NSErrorDomain in Objective-C, which works nicely in NSError and as Swift Error. Errors can now be catched as catch DiskError.noFileFound without introducing a source breaking change.
I updated the sample project to take advantage of the change.
@saoudrizwan Do you have any reasons or concerns why this PR isn't merge yet?