I found that I often need such thing.
Already implemented and tested:
public static IO<Unit> fromTryEffect(TryEffect0<? extends IOException> t) {
final Validation<? extends IOException, Unit> v = TryEffect.f(t).f();
return v.isSuccess() ? ioUnit : () -> { throw v.fail(); };
}