[swift-evolution] [Pitch] Typed throws

Anton Zhilin antonyzhilin at gmail.com
Fri Feb 17 13:16:29 CST 2017

2017-02-17 22:12 GMT+03:00 Adrian Zubarev via swift-evolution <
swift-evolution at swift.org>:

Is the throwing type always a protocol? In your example it is, but is this
> going to be always the case?
I thought it was going to be any one subtype of Error, be it a struct, an
enum, or a protocol existential, or Error itself.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170217/348185e4/attachment.html>

More information about the swift-evolution mailing list