lib/main.js
function AddError(message,nopush) {
  if (displayErrors) console.error(message);
  if (!nopush) errors.push(message);
}
function AddError(message,nopush) {
  if (displayErrors) console.error(message);
  if (!nopush) errors.push(message);
}
function AddError ( message , nopush ) { if ( displayErrors ) console . error ( message ) ; if ( ! nopush ) errors . push ( message ) ; }
Add an error to the error list and display it on the console
Add an error to the error list and display it on the console