pakmanaged.js
function error(msg, _continue) {
      if (state.error === null)
        state.error = '';
      state.error += state.currentCmd + ': ' + msg + '\n';
    
      if (msg.length > 0)
        log(state.error);
    
      if (config.fatal)
        process.exit(1);
    
      if (!_continue)
        throw '';
    }
function error(msg, _continue) {
      if (state.error === null)
        state.error = '';
      state.error += state.currentCmd + ': ' + msg + '\n';
    
      if (msg.length > 0)
        log(state.error);
    
      if (config.fatal)
        process.exit(1);
    
      if (!_continue)
        throw '';
    }
function error ( msg , _continue ) { if ( state . error === null ) state . error = '' ; state . error += state . currentCmd + ': ' + msg + '\n' ; if ( msg . length > 0 ) log ( state . error ) ; if ( config . fatal ) process . exit ( 1 ) ; if ( ! _continue ) throw '' ; }
Shows error message. Throws unless _continue or config.fatal are true
Shows error message . Throws unless _continue or config . fatal are true