function createInvalidArgumentValueError(message, argument, value, reason) {
    var err = new TypeError(message);
    err.code = constants$4.INVALID_ARG_VALUE;
    err.argument = argument;
    err.value = value;
    err.reason = typeof reason !== 'undefined' ? reason : 'is invalid';
    return err;
  }
Creates an error object to be thrown when an argument did not use the supported value

@public
@static
@param {string} message - Error message to be displayed.
@param {string} argument - Argument name.
@param {string} value - Argument value.
@param {string} [reason] - Why value is invalid.
@returns {Error} instance detailing the error condition