src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Model/ErrorResponse.php
public function setError($error) 
    {
        if (!$this->_isNumericArray($error)) {
            $error =  array ($error);    
        }
        $this->_fields['Error']['FieldValue'] = $error;
        return $this;
    }
public function setError($error) 
    {
        if (!$this->_isNumericArray($error)) {
            $error =  array ($error);    
        }
        $this->_fields['Error']['FieldValue'] = $error;
        return $this;
    }
public function setError ( $ error ) { if ( ! $ this -> _isNumericArray ( $ error ) ) { $ error = array ( $ error ) ; } $ this -> _fields [ 'Error' ] [ 'FieldValue' ] = $ error ; return $ this ; }
Sets the value of the Error.

@param mixed Error or an array of Error Error
@return this instance
Sets the value of the Error .