catchWarn

inline fun <E : Throwable> catchWarn(block: () -> Unit): Result<Unit>