1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:24:04 +00:00
tenancy/src/Exceptions/TenantDoesNotExistException.php
2019-10-24 19:22:00 +02:00

15 lines
289 B
PHP

<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions;
use Exception;
class TenantDoesNotExistException extends Exception
{
public function __construct(string $id, string $key = 'id')
{
$this->message = "Tenant with this $key does not exist: $id";
}
}