Result API in Kotlin is great. And this is not reinventing the wheel since Kotlin `Result` is an inline class and `ResultOf ` is a sealed class. This post is about sealed class, and I chose error and success handling as an example. In addition, Kotlin `Result` has less overhead than `ResultOf` because of `Result` is an inline class.