Hacker News new | ask | show | jobs
by ivanjermakov 856 days ago
It is different because this way all possible results and failures are known as type information. How to handle erroneous state is the responsibility of the result consumer, given the availability of rich API to unwrap, bind or transform error variants.
1 comments

This was in Java with checked exceptions.