This commit is contained in:
2021-10-25 18:25:14 +08:00
parent 6605aae410
commit a9d106a1cf
48 changed files with 5090 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
namespace Http\Abstracts;
use JetBrains\PhpStorm\Pure;
/**
*
*/
class PageNotFoundException extends \Exception
{
/**
*
*/
#[Pure] public function __construct(int $code)
{
parent::__construct('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', $code);
}
}