DatabaseExceptionWrapper.php

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

Namespace

Drupal\Core\Database

File

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

View source
<?php

namespace Drupal\Core\Database;


/**
 * This wrapper class serves only to provide additional debug information.
 *
 * This class will always wrap a client connection exception, for example
 * \PDOException or \mysqli_sql_exception.
 */
class DatabaseExceptionWrapper extends \RuntimeException implements DatabaseException {

}

Classes

Title Deprecated Summary
DatabaseExceptionWrapper This wrapper class serves only to provide additional debug information.

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