[swift-users] Cast from NSError to ErrorType causes weird behaviour

Ivan Rep ivan.rep2 at gmail.com
Wed Aug 24 07:13:33 CDT 2016


Hi,

I noticed weird behaviour using ErrorType that was casted from NSError.



‚Äč
Why is this happening?

Thanks, Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160824/536dc744/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-08-24 at 13.36.48.png
Type: image/png
Size: 11563 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160824/536dc744/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-08-24 at 13.36.37.png
Type: image/png
Size: 13778 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160824/536dc744/attachment-0001.png>


More information about the swift-users mailing list