\Qcloud\CosExceptionParser

Parses default XML exception responses

Summary

Methods
Properties
Constants
parse()
No public properties found
No constants found
parseHeaders()
parseBody()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

parseHeaders()

parseHeaders(\Guzzle\Http\Message\RequestInterface  $request, \Guzzle\Http\Message\Response  $response, array  $data) 

Parses additional exception information from the response headers

Parameters

\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

parseBody()

parseBody(\SimpleXMLElement  $body, array  $data) 

Parses additional exception information from the response body

Parameters

\SimpleXMLElement $body

The response body as XML

array $data

The current set of exception data