annotate core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace Drupal\Core\Database;
Chris@0 4
Chris@0 5 /**
Chris@0 6 * Exception thrown if a query would violate an integrity constraint.
Chris@0 7 *
Chris@0 8 * This exception is thrown e.g. when trying to insert a row that would violate
Chris@0 9 * a unique key constraint.
Chris@0 10 */
Chris@0 11 class IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException {}