mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 00:24:02 +00:00
findBy DB storage driver
This commit is contained in:
parent
a80275c1ac
commit
8d73381eae
2 changed files with 44 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ use Exception;
|
|||
|
||||
class TenantDoesNotExistException extends Exception
|
||||
{
|
||||
public function __construct(string $id)
|
||||
public function __construct(string $id, string $key = 'id')
|
||||
{
|
||||
$this->message = "Tenant with this id does not exist: $id";
|
||||
$this->message = "Tenant with this $key does not exist: $id";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue