File manager - Edit - /var/www/payraty/helpdesk/vendor/spatie/dropbox-api/src/Exceptions/BadRequest.php
Back
<?php namespace Spatie\Dropbox\Exceptions; use Exception; use Psr\Http\Message\ResponseInterface; class BadRequest extends Exception { public ?string $dropboxCode = null; public function __construct(public ResponseInterface $response) { $body = json_decode($response->getBody(), true); if ($body !== null) { if (isset($body['error']['.tag'])) { $this->dropboxCode = $body['error']['.tag']; } parent::__construct($body['error_summary']); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings