初始化仓库
This commit is contained in:
18
vendor/overtrue/socialite/src/Exceptions/AuthorizeFailedException.php
vendored
Normal file
18
vendor/overtrue/socialite/src/Exceptions/AuthorizeFailedException.php
vendored
Normal file
@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user