response = $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']); } } }