2019-10-07 22:02:28 +02:00
|
|
|
<?php
|
|
|
|
|
2023-02-03 20:41:59 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2019-10-07 22:02:28 +02:00
|
|
|
namespace Engelsystem\Http\Exceptions;
|
|
|
|
|
|
|
|
use Throwable;
|
|
|
|
|
|
|
|
class HttpNotFound extends HttpException
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param Throwable|null $previous
|
|
|
|
*/
|
|
|
|
public function __construct(
|
|
|
|
string $message = '',
|
|
|
|
array $headers = [],
|
|
|
|
int $code = 0,
|
|
|
|
Throwable $previous = null
|
|
|
|
) {
|
|
|
|
parent::__construct(404, $message, $headers, $code, $previous);
|
|
|
|
}
|
|
|
|
}
|