Remove type-safe-error-handling-with-shapeless-coproducts-in-scala
article thumbnail

Type-safe error handling with Scala 3

Xebia

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!