You are here

class SchemaException in Drupal 10

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

Base exception for Schema-related errors.

Hierarchy

  • class \Drupal\Core\Database\SchemaException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException

Expanded class hierarchy of SchemaException

3 files declare their use of SchemaException
Schema.php in core/modules/mysql/src/Driver/Database/mysql/Schema.php
SchemaTest.php in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
SqlContentEntityStorage.php in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php

File

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

Namespace

Drupal\Core\Database
View source
class SchemaException extends \RuntimeException implements DatabaseException {

}

Members