mplatvoet
fun main(args: Array<String>) { val promise = Promise.ofFail<String, Exception>(Exception("Some Exception")).catch(map = Exception::message) promise.success(::println) }