This commit is contained in:
2021-08-24 18:24:46 +08:00
parent 575f4b8520
commit 24c93edf2b
110 changed files with 5 additions and 6 deletions
@@ -0,0 +1,21 @@
<?php
namespace Server\Abstracts;
/**
*
*/
class PageNotFoundException extends \Exception
{
/**
*
*/
public function __construct(int $code)
{
parent::__construct('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', $code);
}
}