mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:24:03 +00:00
15 lines
396 B
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 an SyncMaster model. Make sure you're using the central model to make changes to synced resources when you're in the central context");
|
|
}
|
|
}
|