feedback.js
function handleError(err, store) {
  if (err && !err.plugin) {
    err.plugin = 'gulp-task-maker'
  }
  if (Array.isArray(store)) {
    store.push(err)
  } else {
    showError(err)
  }
}
function handleError(err, store) {
  if (err && !err.plugin) {
    err.plugin = 'gulp-task-maker'
  }
  if (Array.isArray(store)) {
    store.push(err)
  } else {
    showError(err)
  }
}
function handleError ( err , store ) { if ( err && ! err . plugin ) { err . plugin = 'gulp-task-maker' } if ( Array . isArray ( store ) ) { store . push ( err ) } else { showError ( err ) } }
Store an error for later, log it instantly or throw if in strict mode
@param {object} err - error object
@param {Array} [store] - where to store the error for later
Store an error for later log it instantly or throw if in strict mode