Returns the transformation of the error if this Result is Err and satisfies the given predicate, otherwise this Result.