Craft 3 Class Reference

Class craft\errors\MigrateException

Inheritance
craft\errors\MigrateException » yii\base\Exception » Exception
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/errors/MigrateException.php

MigrateException represents an error that occurred while migrating Craft or a plugin.

Public Properties
Property Type Description Defined By
$ownerHandle string The handle of the thing being updated craft\errors\MigrateException
$ownerName string The name of the thing being updated craft\errors\MigrateException
Public Methods
Method Description Defined By
__construct() Constructor. craft\errors\MigrateException
getName() craft\errors\MigrateException

Property Details

$ownerHandle public property #

The handle of the thing being updated

public string $ownerHandle null

$ownerName public property #

The name of the thing being updated

public string $ownerName null

Method Details

__construct() public method #

Constructor.

public void __construct ( \craft\errors\string $ownerName, \craft\errors\string $ownerHandle, \craft\errors\string $message null, \craft\errors\int $code 0, Throwable $previous null )
$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() public method #

public string getName ( )
return string The user-friendly name of this exception