Cocoa Error Domain code symbols in Swift
Cocoa Error Domain code symbols in Swift
- Subject: Cocoa Error Domain code symbols in Swift
- From: Rick Mann <email@hidden>
- Date: Fri, 24 Jul 2015 17:14:48 -0700
In my code, I catch NSErrors and inspect them in the debugger, and see codes like NSCocoaErrorDomain Code=516. How can I get the symbolic constant for that error, especially in Swift? The error headers in swift don't show the values, and it seems the objective-C headers have moved about a bit since the posts I found googling the subject.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden