protected function responseError($body, $httpCode)
    {
        return $this->parseResponse($body) ?: $this->jsonError($body, $httpCode);
    }
protected function responseError($body, $httpCode)
    {
        return $this->parseResponse($body) ?: $this->jsonError($body, $httpCode);
    }
protected function responseError ( $ body , $ httpCode ) { return $ this -> parseResponse ( $ body ) ? : $ this -> jsonError ( $ body , $ httpCode ) ; }
Get error response from server or fallback to general error.

@param string $body
@param int    $httpCode

@return array
Get error response from server or fallback to general error .