Rich errors #3640
Replies: 1 comment 1 reply
-
|
Hey @marco-eckstein, That's a great question, but since the design of Rich Errors is not final yet it's not 100% clear what the results will be. It will depend on a couple of things:
Arrow wants to provide the same guarantees as it currently has, but being idiomatic and feeling familiar in Kotlin is very important alongside binary compatibility being the most important factor. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my understanding, the preferred way of domain error handling with Arrow is using the Raise DSL, while multiple alternative ways are also supported well. Now that Kotlin will soon have rich errors (in my understanding essentially an Either at the language level), what will be the future of error handling? Will rich errors be integrated into the Raise DSL like Either from the library? Should I start using Either everywhere in preparation for rich errors?
Beta Was this translation helpful? Give feedback.
All reactions