for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Exception for non founded routes
*
* @file NotFoundException.php
* PHP version 8.0+
* @author Yancharuk Alexander <alex at itvault dot info>
* @copyright © 2012-2021 Alexander Yancharuk
* @date 2015-08-12 07:01
* @license The BSD 3-Clause License
* <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>
*/
namespace Veles\Routing\Exceptions;
* Class NotFoundException
class NotFoundException extends \DomainException
{
public function __construct()
parent::__construct();
header('HTTP/1.1 404 Not Found', true, 404);
}