mapEither

inline fun <T, R> ApiResult<T>.mapEither(success: (T) -> R, error: (Exception) -> Exception): ApiResult<R>

Map both Error and Success. Does not affect Loading