Removes specific errors instead of sqlstate from pdo