Y
Hacker News
new
|
ask
|
show
|
jobs
by
afiori
2285 days ago
that is why in most languages with that approach you have a symmetric error type (Either for Haskell, Result for Rust etc.)
1 comments
cies
2285 days ago
and in those langs its trivial and very common to make even more elaborate return/result types containing a very precise representation of all possible result categories.
link