[swift-evolution] [Pitch] Typed throws
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...
More information about the swift-evolution