catchWarn

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