mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:54:03 +00:00
Add TenantDoesNotExist exception, fix queued migrator serialization
This commit is contained in:
parent
e98db460ec
commit
2f3924531d
5 changed files with 41 additions and 6 deletions
13
src/Exceptions/TenantDoesNotExistException.php
Normal file
13
src/Exceptions/TenantDoesNotExistException.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class TenantDoesNotExistException extends Exception
|
||||
{
|
||||
public function __construct(string $id)
|
||||
{
|
||||
$this->message = "Tenant with this id does not exist: $id";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue