function Connection::exceptionHandler
Returns the database exceptions handler.
@todo in drupal:11.0.0, return a new ExceptionHandler instance directly.
Return value
\Drupal\Core\Database\ExceptionHandler The database exceptions handler.
Overrides Connection::exceptionHandler
File
-
core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php, line 459
Class
- Connection
- PostgreSQL implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\pgsql\Driver\Database\pgsqlCode
public function exceptionHandler() {
return new ExceptionHandler();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.