AuditException.php in Drupal 8
File
core/modules/migrate/src/Audit/AuditException.php
View source
<?php
namespace Drupal\migrate\Audit;
use Drupal\migrate\Plugin\MigrationInterface;
class AuditException extends \RuntimeException {
public function __construct(MigrationInterface $migration, $message, \Exception $previous = NULL) {
$message = sprintf('Cannot audit migration %s: %s', $migration
->id(), $message);
parent::__construct($message, 0, $previous);
}
}
Classes
Name |
Description |
AuditException |
Defines an exception to throw if an error occurs during a migration audit. |