mapError

fun mapError(mapper: (Throwable) -> Exception): Result<T>