/** * Determine whether the response is an error. Override this method to have a * per-operation decision, otherwise the function from the API class will be used. * * @return null|\ArtaxServiceBuilder\BadResponseException */ public function translateResponseToException(\Amp\Artax\Response $response) { return $this->api->translateResponseToException($response); }