toEither

inline fun <L, R> toEither(    crossinline httpFailure: (NetworkEither.Failure.Http<F>) -> L,     localFailure: () -> L,     remoteFailure: () -> L,     crossinline unknownFailure: (Throwable) -> L,     crossinline success: (NetworkEither.Success<S>) -> R): Either<L, R>