Ejemplo n.º 1
0
 /**
  * Add internal call response to global response
  *
  * @param Mage_Api2_Model_Response $response
  */
 protected function _aggregateResponse(Mage_Api2_Model_Response $response)
 {
     if ($response->isException()) {
         $errors = $response->getException();
         // @TODO: add subresource prefix to error messages
         foreach ($errors as $error) {
             $this->_getResponse()->setException($error);
         }
     }
 }