@altavir What I want is a version of this library, but ported to Kotlin.
For instance, say I'm writing a command line tool in Kotlin that accepts a JSON file as input. This library would allow me to easily format a nice error message for the user pointing out where the user has made a syntax error.
Or let's say I'm writing a little DSL in Kotlin. This library gives me an easy way to add beautiful Rust/Elm-like error messages to my users.