Handling exceptions, I found myself needing this handy little function :
inline fun exec(lambda: () -> Any): Boo