class TransactionNoActiveException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
  2. 10 core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
  3. 11.x core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException

Exception for when popTransaction() is called with no active transaction.

Hierarchy

Expanded class hierarchy of TransactionNoActiveException

1 file declares its use of TransactionNoActiveException
TransactionTest.php in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php

File

core/lib/Drupal/Core/Database/TransactionNoActiveException.php, line 8

Namespace

Drupal\Core\Database
View 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.