Typed throw functions

Just to recap what some people with strong knowledge of the language thinks about this:

There're strong opinions on the fact that typed throws are a thing to include into the language and that even it could be ABI backwards compatible using the introduced semantics. For record that someone has it here to read and have more context about this.
Also, I'd like to see more dos and don'ts with the proposal in code in order to see what issues the semantics would have so we can analyze edge cases and other maybe related topics.

All contributions and opinions are more than welcome!

Thank you.

Some topics to cover:

  1. Generic throwing allowed
  2. Protocol establishing Error type through associatedtype.
  3. Extensibility of errors.
  4. ABI compatibility
  5. Semantics
  6. Different Error do statement.
6 Likes