Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 420 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 420 Bytes

typed-error-handling-demo

This repository is created as a supporting material in the study in "Typed Error Handling in Kotlin".

The approach explored in this repository includes:

  • Exception based error handling
  • Vanilla sealed class chaining
  • Vanilla sealed class with early returns
  • Arrow Raise<E> with context receivers
  • Arrow with either { } builder
  • Arrow vanilla Either<L, R> with flatMap chaining