class SchemaPrimaryKeyMustBeDroppedException

Exception thrown if the Primary Key must be dropped before an operation.

Hierarchy

Expanded class hierarchy of SchemaPrimaryKeyMustBeDroppedException

2 files declare their use of SchemaPrimaryKeyMustBeDroppedException
ExceptionHandler.php in core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php
Schema.php in core/modules/mysql/src/Driver/Database/mysql/Schema.php

File

core/lib/Drupal/Core/Database/Exception/SchemaPrimaryKeyMustBeDroppedException.php, line 11

Namespace

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

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.