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.

View source

# 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

The handle of the thing being updated

View source

# ownerName

Type
string

The name of the thing being updated

View source

# Public Methods

Method Description
__construct() Constructor.
getName()

# __construct()

Constructor.

View source

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()

View source

Returns

string – The user-friendly name of this exception