uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
.
/
apps
/
craft4-newsite-space
/
.
/
vendor
/
craftcms
/
cms
/
src
/
errors
/
MigrateException.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\errors; use Throwable; use yii\base\Exception; /** * MigrateException represents an error that occurred while migrating Craft or a plugin. * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.0.0 */ class MigrateException extends Exception { /** * @var string The name of the thing being updated */ public string $ownerName; /** * @var string The handle of the thing being updated */ public string $ownerHandle; /** * Constructor. * * @param string $ownerName The name of the thing being updated * @param string $ownerHandle The handle of the thing being updated * @param string|null $message The error message * @param int $code The error code * @param Throwable|null $previous The previous exception */ public function __construct(string $ownerName, string $ownerHandle, ?string $message = null, int $code = 0, Throwable $previous = null) { $this->ownerName = $ownerName; $this->ownerHandle = $ownerHandle; if ($message === null) { $message = 'An error occurred while migrating ' . $ownerName . '.'; } parent::__construct($message, $code, $previous); } /** * @return string the user-friendly name of this exception */ public function getName(): string { return 'Migrate Error'; } }
/srv/users/craft4/./apps/craft4-newsite-space/./vendor/craftcms/cms/src/errors/MigrateException.php