mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 19:44:04 +00:00
18 lines
522 B
PHP
18 lines
522 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Exceptions;
|
|
|
|
use Stancl\Tenancy\Contracts\TenantCouldNotBeIdentifiedException;
|
|
|
|
class TenantCouldNotBeIdentifiedOnDomainException extends TenantCouldNotBeIdentifiedException
|
|
{
|
|
public function __construct(string $domain)
|
|
{
|
|
$this
|
|
->tenantCouldNotBeIdentified("on domain $domain")
|
|
->title('Tenant could not be identified on this domain')
|
|
->description('Did you forget to create a tenant for this domain?');
|
|
}
|
|
}
|