Hello everybody. I'm a bit lost at the moment with `Exception`s in Kotlin and what course to take with a library API. From kotlinlang.org it states that:
All exception classes in Kotlin are descendants of the class Exception.
In the Java landscape we have
`Exception` and `Error` and the shared parent
`Error`s. (I know the focus is on 1.0 and Java at the moment).
`Promise<Foo, Exception>` in my API of Kovenant. But this already leads to usability issues, as pointed out by @jaysonminard, in cases where other (java) libraries/frameworks are used that have
`Throwable` in their interface. It seems that not all Throwables are descendants of the class Exception.
I don’t want to change the signature to