[swift-evolution] Swift error handling suggestion
Joe Groff
jgroff at apple.com
Thu Mar 2 14:41:58 CST 2017
> On Mar 2, 2017, at 12:39 PM, Jon Shier via swift-evolution <swift-evolution at swift.org> wrote:
>
> Both of your proposals seem contrary to the very reasons Swift’s error handling is the way it is, so it’s unlikely they’ll find any support. I’m not aware of any “error handling” manifesto, as Swift 2 was created before the evolution process, but I’m sure someone has something to share about why Swift’s error system is designed this way.
The error handling rationale is in the compiler repo here:
https://github.com/apple/swift/blob/master/docs/ErrorHandlingRationale.rst <https://github.com/apple/swift/blob/master/docs/ErrorHandlingRationale.rst>
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170302/7256ce7a/attachment.html>
More information about the swift-evolution
mailing list