改名
This commit is contained in:
@@ -4,7 +4,14 @@
|
|||||||
namespace Snowflake\Exception;
|
namespace Snowflake\Exception;
|
||||||
|
|
||||||
|
|
||||||
|
use Throwable;
|
||||||
|
|
||||||
class AuthException extends \Exception
|
class AuthException extends \Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
||||||
|
{
|
||||||
|
parent::__construct($message, 401, $previous);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user