> On Feb 17, 2017, at 11:12 AM, Adrian Zubarev via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> Is the throwing type always a protocol? In your example it is, but is this 
> going to be always the case?
> 
I think right now, there’s a bit of compiler magic in that you can only throw 
something that conforms to `Error`.

- Dave Sweeris
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to