code: function onError(error) {
    	for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    		args[_key - 1] = arguments[_key];
    	}
  
    	if (config.current) {
    		if (config.current.ignoreGlobalErrors) {
    			return true;
    		}
    		pushFailure.apply(undefined, [error.message, error.fileName + ":" + error.lineNumber].concat(args));
    	} else {
    		test("global failure", extend(function () {
    			pushFailure.apply(undefined, [error.message, error.fileName + ":" + error.lineNumber].concat(args));
    		}, { validTest: true }));
    	}
  
    	return false;
    }
docs: Handle an unhandled exception. By convention, returns true if further error handling should be suppressed and false otherwise. In this case, we will only suppress further error handling if the "ignoreGlobalErrors" configuration option is enabled.