format pdo errors