[swift-evolution] Type-annotated throws
Tino Heth
2th at gmx.de
Mon Aug 29 04:18:28 CDT 2016
I'm quite skeptical here (Java has already been mentioned…), but if it's done, I'd vote for removing ErrorType:
This empty protocol always felt a little bit odd to me, and when each function has information about what errors to expect, imho there is absolutely no benefit associated with conformance.
Even now, it's not that much — or does anyone actually consult a list of conforming types for error handling?
Tino
More information about the swift-evolution
mailing list