13 lines
244 B
PHP
13 lines
244 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http;
|
|
|
|
final class HttpException extends \RuntimeException
|
|
{
|
|
public function __construct(string $message, public readonly int $status = 400)
|
|
{
|
|
parent::__construct($message);
|
|
}
|
|
}
|