1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

exception message

This commit is contained in:
Samuel Štancl 2023-04-14 17:06:15 +02:00 committed by GitHub
parent 228c2676f3
commit 1f4dae7012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,12 @@ namespace Stancl\Tenancy\Exceptions;
use Exception; use Exception;
// todo@v4 improve all exception messages
class ModelNotSyncMasterException extends Exception class ModelNotSyncMasterException extends Exception
{ {
public function __construct(string $class) 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");
} }
} }