Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve catching of Swift Errors. #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iCarambaa
Copy link

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.

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.
craigrouse added a commit to craigrouse/Disk that referenced this pull request May 29, 2019
@copa
Copy link

copa commented Jan 14, 2020

@saoudrizwan Do you have any reasons or concerns why this PR isn't merge yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants