function INVALID_SCOPE_VARIABLE (varname, details, message) {
  var DEFAULT_MESSAGE =
  'Issue encountered in generator "sails-sass":\n'+
  'Missing required scope variable: `%s`"\n' +
  'If you are the author of `sails-generate-sails-sass`, please resolve this '+
  'issue and publish a new patch release.';

  message = (message || DEFAULT_MESSAGE) + (details ? '\n'+details : '');
  message = util.inspect(message, varname);

  return new Error(message);
}
/**
 * INVALID_SCOPE_VARIABLE()
 *
 * Helper method to put together a nice error about a missing or invalid
 * scope variable. We should always validate any required scope variables
 * to avoid inadvertently smashing someone's filesystem.
 *
 * @param {String} varname [the name of the missing/invalid scope variable]
 * @param {String} details [optional - additional details to display on the console]
 * @param {String} message [optional - override for the default message]
 * @return {Error}
 * @api private
 */
INVALID_SCOPE_VARIABLE()
Helper method to put together a nice error about a missing or invalid
scope variable. We should always validate any required scope variables
to avoid inadvertently smashing someone's filesystem.


INVALID_SCOPE_VARIABLE () Helper method to put together a nice error about a missing or invalid scope variable . We should always validate any required scope variables to avoid inadvertently smashing someone ' s filesystem .
function INVALID_SCOPE_VARIABLE (varname, details, message) {
  var DEFAULT_MESSAGE =
  'Issue encountered in generator "sails-sass":\n'+
  'Missing required scope variable: `%s`"\n' +
  'If you are the author of `sails-generate-sails-sass`, please resolve this '+
  'issue and publish a new patch release.';
  message = (message || DEFAULT_MESSAGE) + (details ? '\n'+details : '');
  message = util.inspect(message, varname);
  return new Error(message);
}
function INVALID_SCOPE_VARIABLE ( varname , details , message ) { var DEFAULT_MESSAGE = 'Issue encountered in generator "sails-sass":\n' + 'Missing required scope variable: `%s`"\n' + 'If you are the author of `sails-generate-sails-sass`, please resolve this ' + 'issue and publish a new patch release.' ; message = ( message || DEFAULT_MESSAGE ) + ( details ? '\n' + details : '' ) ; message = util . inspect ( message , varname ) ; return new Error ( message ) ; }
INVALID_SCOPE_VARIABLE()
 Helper method to put together a nice error about a missing or invalid
 scope variable.
INVALID_SCOPE_VARIABLE () Helper method to put together a nice error about a missing or invalid scope variable .