3 ms·
> * It looks like exceptions carry no error information. When something goes wrong, you know nothing. Is that right? Yes and no. You know something went wrong.
by spooneybarger 9y ago
> * It looks like exceptions carry no error information. When something goes wrong, you know nothing. Is that right?
Yes and no. You know something went wrong. `error` is supposed to only be used when it indicates a specific thing that went wrong. If you need error information, you should use a union type ala Rust.
There's been discussion on the Pony core team to change the name from "exception" has that carries a lot of expectations these days (folks generally expect that they will be akin to exceptions in Java et al)