reduceIssuesIntoMessage(issues) {
    return issues.reduce(
      (str, { type, message }) => `${str} \n\t- ${type}: ${message}`,
      `Error: invalid items store request. Reason(s): `
    )
  }
/**
   * Returns the issues reduced to a single string message. This is a helper for the ItemsRequestError constructor to set
   * the message of the error to this function's result.
   * @param {Array} issues - array of issue objects of form {type, message}. @see MakeRequestIssue for possible issues
   * @returns the issues reduced to a string
   */
Returns the issues reduced to a single string message. This is a helper for the ItemsRequestError constructor to set
the message of the error to this function's result.
@param {Array} issues - array of issue objects of form {type, message}. @see MakeRequestIssue for possible issues
@returns the issues reduced to a string
Returns the issues reduced to a single string message . This is a helper for the ItemsRequestError constructor to set the message of the error to this function ' s result . @param { Array } issues - array of issue objects of form { type message } . @see MakeRequestIssue for possible issues @returns the issues reduced to a string
reduceIssuesIntoMessage(issues) {
    return issues.reduce(
      (str, { type, message }) => `${str} \n\t- ${type}: ${message}`,
      `Error: invalid items store request. Reason(s): `
    )
  }
reduceIssuesIntoMessage ( issues ) { return issues . reduce ( ( str , { type , message } ) => ` ${ str } \n \t ${ type } ${ message } ` , ` ` ) }
Returns the issues reduced to a single string message.
Returns the issues reduced to a single string message .