class AuditException extends RuntimeException (View source)

Defines an exception to throw if an error occurs during a migration audit.

Methods

__construct(MigrationInterface $migration, string $message, Exception $previous = NULL)

AuditException constructor.

Details

__construct(MigrationInterface $migration, string $message, Exception $previous = NULL)

AuditException constructor.

Parameters

MigrationInterface $migration

The migration that caused the exception.

string $message

The reason the audit failed.

Exception $previous

(optional) The previous exception.