Why use Exception as the Result error type instead of Error or ErrorException? #1287
carlosjortiz
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Result is an intermediate type for Try (and Try variants) and not designed for direct consumption; it will be deprecated due to the endless confusion about it. Fin is the type you want, it uses Error for its 'alternative' state. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was reviewing the
Result,Error, andErrorExceptioncodes and noticed that you are not using these error types as theResulterror type. I would like to understand the reason behind this, and if it aligns with your preferences, I am willing to make the necessary adjustmentsBeta Was this translation helpful? Give feedback.
All reactions