mheinzerling/php-simpleweb

View on GitHub
src/router/NotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types = 1);

namespace mheinzerling\simpleweb\router;

class NotFoundException extends \Exception
{
    public function __construct($request)
    {
        parent::__construct("Resource not found >" . $request . "<", 404, null);
    }
}