DatabaseException.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Core\DatabaseFile
core/lib/Drupal/Core/Database/DatabaseException.phpView source
<?php
// phpcs:ignoreFile
namespace Drupal\Core\Database;
/**
* Interface for a database exception.
*
* All Database exceptions should implement this interface so that they can be
* caught collectively. Note that this applies only to Drupal-spawned
* exceptions. PDOException will not implement this interface and module
* developers should account for it separately.
*/
interface DatabaseException {
}
Interfaces
Name | Description |
---|---|
DatabaseException | Interface for a database exception. |