protected function analyzeResponseErrors()
    {
        $content = $this->content;

        if ($content && property_exists($content, 'errors')) {
            $this->setErrors($content, 'errors');
        } elseif ($content && property_exists($content, 'ERROR')) {
            $this->setError('Unknown', $content->ERROR);
        }

        $this->throwExceptions();
    }