src/MarketplaceWebService/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 Error or an array of Error Error
@return $this This instance
Sets the value of the Error .