You are here

class TransactionNoActiveException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/TransactionNoActiveException.php \Drupal\Core\Database\TransactionNoActiveException
  2. 9 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\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\Database
View source
class TransactionNoActiveException extends TransactionException implements DatabaseException {

}

Members