[swift-evolution] [Pitch] Typed throws
dabrahams at apple.com
Mon Feb 27 00:32:56 CST 2017
on Fri Feb 17 2017, Joe Groff <swift-evolution at swift.org> wrote:
> Experience in other languages like Rust and Haskell that use
> Result-based error propagation suggests that a single error type is
> adequate, and beneficial in many ways.
And experience in still others, like C++ and Java, suggests that
using static types to restrict the kind of information a function can
give you when an error occurs may actually be harmful.
More information about the swift-evolution