handleErrorWith

inline fun <A, B, C> Either<A, B>.handleErrorWith(f: (A) -> Either<C, B>): Either<C, B>(source)

Recovers the left side of an Either with the supplied function