engelsystem/src/Http/Exceptions/HttpNotFound.php

23 lines
425 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
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);
}
}