DatabaseException.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Database/DatabaseException.php
  2. 10 core/lib/Drupal/Core/Database/DatabaseException.php
  3. 11.x core/lib/Drupal/Core/Database/DatabaseException.php

Namespace

Drupal\Core\Database

File

core/lib/Drupal/Core/Database/DatabaseException.php

View source
<?php

// @codingStandardsIgnoreFile
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

Title Deprecated Summary
DatabaseException Interface for a database exception.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.