IntegrityConstraintViolationException.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\DatabaseFile
core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.phpView source
<?php
namespace Drupal\Core\Database;
/**
* 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.
*/
class IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException {
}
Classes
Name | Description |
---|---|
IntegrityConstraintViolationException | Exception thrown if a query would violate an integrity constraint. |