> On Feb 19, 2017, at 12:04 PM, Anton Zhilin via swift-evolution > <[email protected]> wrote: > > It’s expected that if you need resilience, then you will throw an “open” > enum. Essentially, we pass resilience of typed throws on to those who will > hopefully establish resilience of enums. > You’ve just re-invented the error handling model we have today.
> If you prefer separate error types, then declare a base protocol for all your > error types and throw a protocol existential. > And now we’ve re-invented Java’s checked exceptions “throws Exception”. To what end? Russ
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
