parse()
parse(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response)
Parameters
\Guzzle\Http\Message\RequestInterface | $request | |
\Guzzle\Http\Message\Response | $response |
Parses default XML exception responses
parse(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response)
\Guzzle\Http\Message\RequestInterface | $request | |
\Guzzle\Http\Message\Response | $response |
parseHeaders(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response, array $data)
Parses additional exception information from the response headers
\Guzzle\Http\Message\RequestInterface | $request | Request that was issued |
\Guzzle\Http\Message\Response | $response | The response from the request |
array | $data | The current set of exception data |