no message

This commit is contained in:
hajimi
2026-06-11 12:15:29 +08:00
parent 10ebe39c30
commit 96efa1d905
5859 changed files with 815501 additions and 5 deletions
@@ -0,0 +1,18 @@
<?php
namespace Overtrue\Socialite\Exceptions;
use JetBrains\PhpStorm\Pure;
class AuthorizeFailedException extends Exception
{
public array $body;
#[Pure]
public function __construct(string $message, mixed $body)
{
parent::__construct($message, -1);
$this->body = (array) $body;
}
}
@@ -0,0 +1,7 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class BadRequestException extends Exception
{
}
@@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class Exception extends \Exception
{
//
}
@@ -0,0 +1,9 @@
<?php
namespace Overtrue\Socialite\Exceptions\FeiShu;
use Overtrue\Socialite\Exceptions;
class InvalidTicketException extends Exceptions\Exception
{
}
@@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class InvalidArgumentException extends \InvalidArgumentException
{
//
}
@@ -0,0 +1,18 @@
<?php
namespace Overtrue\Socialite\Exceptions;
use JetBrains\PhpStorm\Pure;
class InvalidTokenException extends Exception
{
public string $token;
#[Pure]
public function __construct(string $message, string $token)
{
parent::__construct($message, -1);
$this->token = $token;
}
}
@@ -0,0 +1,8 @@
<?php
namespace Overtrue\Socialite\Exceptions;
class MethodDoesNotSupportException extends Exception
{
//
}