Service pdo require error mode

PDO class require to set error mode