Type-safe error handling with Scala 3
Xebia
NOVEMBER 12, 2022
In a previous blog post, we looked at type-safe error handling with Shapeless coproducts and realized that coproducts make up for the lack of union types in Scala 2.x. A coproduct can be seen as an EitherN to return either n types. However, this changed in Scala 3!
Let's personalize your content