I like the general direction of the post: yes, errors are values.
On the other hand, there is the ongoing discussion whether design patterns are language flaws, e.g.: http://c2.com/cgi/wiki?AreDesignPatternsMissingLanguageFeatures
If this case is intended to be so common, why is there no language solution similar to Rusts Result? (which is linted and checked in multiple ways)
Result
I like the general direction of the post: yes, errors are values.
On the other hand, there is the ongoing discussion whether design patterns are language flaws, e.g.: http://c2.com/cgi/wiki?AreDesignPatternsMissingLanguageFeatures
If this case is intended to be so common, why is there no language solution similar to Rusts
Result? (which is linted and checked in multiple ways)