This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+10 -2
View File
@@ -9,6 +9,7 @@ declare(strict_types=1);
namespace HttpServer\Exception;
use JetBrains\PhpStorm\Pure;
use Throwable;
/**
@@ -17,8 +18,15 @@ use Throwable;
*/
class AuthException extends \Exception
{
public function __construct($message = "", $code = 0, Throwable $previous = NULL)
/**
* AuthException constructor.
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
#[Pure] public function __construct($message = "", $code = 0, Throwable $previous = NULL)
{
parent::__construct($message, 7000, $previous);
}