MigrationException

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

MigrationException represents an exception thrown while executing a migration.

View source

# Public Properties

Property Description
migration yii\db\Migration – The migration being executed
output string, 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

Method Description
__construct() Constructor.
getName()

# __construct()

Constructor.

View source

Arguments

# getName()

View source

Returns

string – The user-friendly name of this exception