class TransactionNoActiveException
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
- 10 core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
- 11.x core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
Exception for when popTransaction() is called with no active transaction.
Hierarchy
- class \Drupal\Core\Database\TransactionException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException
- class \Drupal\Core\Database\TransactionNoActiveException extends \Drupal\Core\Database\TransactionException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of TransactionNoActiveException
2 files declare their use of TransactionNoActiveException
- Connection.php in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php - TransactionTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TransactionTest.php
File
-
core/
lib/ Drupal/ Core/ Database/ TransactionNoActiveException.php, line 8
Namespace
Drupal\Core\DatabaseView source
class TransactionNoActiveException extends TransactionException implements DatabaseException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.