1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 21:54:03 +00:00
tenancy/src/Exceptions/ModelNotSyncMasterException.php

15 lines
396 B
PHP

<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions;
use Exception;
class ModelNotSyncMasterException extends Exception
{
public function __construct(string $class)
{
parent::__construct("Model of $class class is not a SyncMaster model. Make sure you're using the central model to make changes to synced resources when you're in the central context.");
}
}