2 ms·Rust's Result or Haskell's Either are wholely better for this purpose.by Ericson2314 8y agoRust's Result or Haskell's Either are wholely better for this purpose.