Comment on Exceptions (2003)parentComments−ScottBurson13yMultiple values make the most sense, but those are ad-hoc product types, so you're eschewing the type system in favor of informal invariants.Maybe the right approach would be to enrich the type system so that it can express those invariants.
Comments
Maybe the right approach would be to enrich the type system so that it can express those invariants.