16 lines
356 B
PHP
16 lines
356 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Exception;
|
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
|
class AccommodationSessionNotFoundException extends HttpException
|
|
{
|
|
public function __construct(?\Throwable $previous = null)
|
|
{
|
|
parent::__construct(404, 'No valid accommodation inquiry session found.', $previous);
|
|
}
|
|
}
|