assertk / assertk / Result / failure

failure

(common, jvm) fun <T> failure(error: Throwable): Result<T>