update patch 1
This commit is contained in:
@@ -18,12 +18,14 @@ use Symfony\Contracts\HttpClient\ResponseInterface;
|
||||
*/
|
||||
class ProviderException extends RuntimeException implements ProviderExceptionInterface
|
||||
{
|
||||
private ResponseInterface $response;
|
||||
private string $debug;
|
||||
|
||||
public function __construct(string $message, ResponseInterface $response, int $code = 0, ?\Exception $previous = null)
|
||||
{
|
||||
$this->response = $response;
|
||||
public function __construct(
|
||||
string $message,
|
||||
private ResponseInterface $response,
|
||||
int $code = 0,
|
||||
?\Exception $previous = null,
|
||||
) {
|
||||
$this->debug = $response->getInfo('debug') ?? '';
|
||||
|
||||
parent::__construct($message, $code, $previous);
|
||||
|
||||
Reference in New Issue
Block a user