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