sippo-sdk / com.quobis.sippo.sipposdk.common / mapError

mapError

fun <V, E : Throwable, X : Throwable> Either<V, E>.mapError(f: (E) -> X): Either<V, X>

Converts the Either error according to f function.