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

30 lines
445 B
PHP
Raw Normal View History

2020-09-01 13:36:57 +08:00
<?php
2020-10-29 18:17:25 +08:00
declare(strict_types=1);
2020-09-01 13:36:57 +08:00
2021-08-11 01:04:57 +08:00
namespace Kiri\Exception;
2020-09-01 13:36:57 +08:00
2020-12-17 14:12:44 +08:00
2020-09-21 13:46:28 +08:00
use Throwable;
2020-10-29 18:17:25 +08:00
/**
* Class AuthException
2021-08-11 01:04:57 +08:00
* @package Kiri\Exception
2020-10-29 18:17:25 +08:00
*/
2020-09-01 13:36:57 +08:00
class AuthException extends \Exception
{
2020-12-17 14:09:14 +08:00
/**
* AuthException constructor.
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
2020-12-17 14:12:44 +08:00
public function __construct($message = "", $code = 0, Throwable $previous = null)
2020-09-21 13:46:28 +08:00
{
2021-04-16 18:53:58 +08:00
parent::__construct($message, 4001, $previous);
2020-09-21 13:46:28 +08:00
}
2020-09-01 13:36:57 +08:00
}