Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DatabaseException.php

Namespace

Drupal\Core\Database

File

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

View source
<?php

// phpcs:ignoreFile
namespace Drupal\Core\Database;


/**
 * Interface for a database exception.
 *
 * Database drivers should catch lower-level database client exceptions and
 * throw exceptions that implement this interface to allow database
 * abstraction in Drupal.
 */
interface DatabaseException extends \Throwable {

}

Interfaces

Title Deprecated Summary
DatabaseException Interface for a database exception.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal