checkedRun

inline fun RoutingContext.checkedRun(block: () -> Unit)(source)

Runs the block and calls RoutingContext.fail if a Throwable is thrown.