Files
fewo-stommer/app/Tenancy/TenantContextMissing.php
LarsandCursor 8ebc1a3878 Assign the existing site to one landlord so stommer.info can run tenancy.
Seebad 0.3 stays in this release. With a single landlord every host still reaches the default website.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 12:00:11 +02:00

17 lines
332 B
PHP

<?php
namespace App\Tenancy;
use RuntimeException;
/**
* A tenant-owned query or insert ran without a current landlord while one was required.
*/
class TenantContextMissing extends RuntimeException
{
public function __construct(string $model)
{
parent::__construct("No current tenant for [{$model}].");
}
}