Exception thrown if a query would violate an integrity constraint.
This exception is thrown e.g. when trying to insert a row that would violate a unique key constraint.
Hierarchy
- class \Drupal\Core\Database\IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException
File
- core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php, line 11
Namespace
Drupal\Core\Database
Please login to continue.