MigrateException ​
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\MigrateException » yii\base\Exception » Exception
- Since
- 3.0.0
MigrateException represents an error that occurred while migrating Craft or a plugin.
Public Properties ​
Property | Description |
---|---|
ownerHandle | string – The handle of the thing being updated |
ownerName | string – The name of the thing being updated |
ownerHandle
​
- Type
- string
- Default value
null
The handle of the thing being updated
ownerName
​
- Type
- string
- Default value
null
The name of the thing being updated
Public Methods ​
Method | Description |
---|---|
__construct() | Constructor. |
getName() |
__construct()
​
Constructor.
Arguments ​
$ownerName
(string) – The name of the thing being updated$ownerHandle
(string) – The handle of the thing being updated$message
(string, null) – The error message$code
(integer) – The error code$previous
(Throwable, null) – The previous exception
getName()
​
Returns ​
string – The user-friendly name of this exception