function createNoFilesMatchPatternError(message, pattern) {
    var err = new Error(message);
    err.code = constants$4.NO_FILES_MATCH_PATTERN;
    err.pattern = pattern;
    return err;
  }
Creates an error object to be thrown when no files to be tested could be found using specified pattern.

@public
@static
@param {string} message - Error message to be displayed.
@param {string} pattern - User-specified argument value.
@returns {Error} instance detailing the error condition