Files
kiri-core/kiri-engine/Exception/AuthException.php
T

30 lines
485 B
PHP
Raw Normal View History

2022-01-09 03:50:38 +08:00
<?php
declare(strict_types=1);
namespace Kiri\Exception;
use Throwable;
/**
* Class AuthException
* @package Kiri\Exception
*/
class AuthException extends \Exception
{
/**
* AuthException constructor.
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
2022-12-13 14:23:06 +08:00
public function __construct(string $message = "", int $code = 0, Throwable $previous = null)
2022-01-09 03:50:38 +08:00
{
parent::__construct($message, 4001, $previous);
}
}