30 lines
474 B
PHP
30 lines
474 B
PHP
<?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
|
|
*/
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, 4001, $previous);
|
|
}
|
|
|
|
}
|