MigrationException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\MigrationException » yii\base\Exception » Exception
Since
3.0

MigrationException represents an exception thrown while executing a migration.

View source

Public Properties

PropertyDescription
migrationyii\db\Migration – The migration being executed
outputstring, null – The migration output

migration

Type
yii\db\Migration

The migration being executed

View source

output

Type
string, null

The migration output

View source

Public Methods

MethodDescription
__construct()Constructor.
getName()

__construct()

Constructor.

View source

Arguments

getName()

View source

Returns

string – The user-friendly name of this exception