mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
exception message
This commit is contained in:
parent
228c2676f3
commit
1f4dae7012
1 changed files with 3 additions and 1 deletions
|
|
@ -6,10 +6,12 @@ namespace Stancl\Tenancy\Exceptions;
|
|||
|
||||
use Exception;
|
||||
|
||||
// todo@v4 improve all exception messages
|
||||
|
||||
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");
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue