summaryrefslogtreecommitdiff
path: root/src/Http/Exceptions/HttpNotFound.php
blob: 324adaf988c3b634dbc0ba52740632b85cd192ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Engelsystem\Http\Exceptions;

use Throwable;

class HttpNotFound extends HttpException
{
    /**
     * @param string         $message
     * @param array          $headers
     * @param int            $code
     * @param Throwable|null $previous
     */
    public function __construct(
        string $message = '',
        array $headers = [],
        int $code = 0,
        Throwable $previous = null
    ) {
        parent::__construct(404, $message, $headers, $code, $previous);
    }
}