NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class JsonRestExceptionParser

Parses JSON encoded exception responses from REST services

  Aws\Common\Exception\Parser\AbstractJsonExceptionParser implements Aws\Common\Exception\Parser\ExceptionParserInterface
  Aws\Common\Exception\Parser\JsonRestExceptionParser

Namespace: Aws\Common\Exception\Parser
Located at Aws/Common/Exception/Parser/JsonRestExceptionParser.php

## Methods summary

- `protected` `doParse ( array $data, Guzzle\Http\Message\Response $response )`

  Pull relevant exception data out of the parsed json

## Methods detail

# `protected array`
`doParse( array $data, `Guzzle\Http\Message\Response` $response )`

Pull relevant exception data out of the parsed json

#### Parameters

$data
  `array`
  $data The exception data
$response
  ``Guzzle\Http\Message\Response``
  $response The response from the service containing the error

#### Returns

`array`

### Methods inherited from Aws\Common\Exception\Parser\AbstractJsonExceptionParser

`parse()`

### Magic methods summary