2 // @codingStandardsIgnoreFile
4 namespace Drupal\Core\Database;
7 * Interface for a database exception.
9 * All Database exceptions should implement this interface so that they can be
10 * caught collectively. Note that this applies only to Drupal-spawned
11 * exceptions. PDOException will not implement this interface and module
12 * developers should account for it separately.
14 interface DatabaseException { }