PDOERRMODE
PDOERRMODE is a constant used with the PDO (PHP Data Objects) extension in PHP to control how database errors are handled. When instantiating a PDO object, you can specify an error mode using the PDO::ATTR_ERRMODE attribute.
The most common and recommended error mode is PDO::ERRMODE_EXCEPTION. When this mode is set, if a database
Another available mode is PDOERRMODE_SILENT, which is the default. In this mode, PDO will simply set an
The third mode is PDOERRMODE_WARNING. This mode causes PDO to issue a PHP warning when a database