handleErrorWith method

IO<A> handleErrorWith(
  1. covariant Function1<RuntimeException, IO<A>> f
)

Intercepts any upstream Exception, sequencing in the IO generated by f.

Implementation

IO<A> handleErrorWith(covariant Function1<RuntimeException, IO<A>> f) =>
    _HandleErrorWith(this, Fn1.of(f));