You are here

class TransactionExplicitCommitNotAllowedException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException
  2. 9 core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException

Exception to deny attempts to explicitly manage transactions.

This exception will be thrown when the client connection commit() is called. Code should never call this method directly.

Hierarchy

Expanded class hierarchy of TransactionExplicitCommitNotAllowedException

File

core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php, line 11

Namespace

Drupal\Core\Database
View source
class TransactionExplicitCommitNotAllowedException extends TransactionException implements DatabaseException {

}

Members