> On Sep 2, 2016, at 5:59 AM, Tino Heth via swift-evolution 
> <[email protected]> wrote:
> 
> Why not simply add those default implementations to Error?
> I can't see the value of hiding read-only properties that are already there…

Domain, code, and user-info are useful for Cocoa interoperability but aren’t 
otherwise necessary in Swift, which captures that information more directly in 
the (concrete) error types that conform to Error.

        - Doug

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to