Wraps the expression with the
errors.Is()
function.