handleError method

Task<A> handleError(
  1. Function1<Object, A> f
)

Implementation

Task<A> handleError(Function1<Object, A> f) => attempt().map((a) => a.fold(f, id));