100+ results results for 'ERROR repo:qbit_/scottbot' (8619 ms)
25import com.mogujie.tt.entity.User; 26import com.mogujie.tt.imlib.common.ErrorCode; 27import com.mogujie.tt.imlib.db.IMDbManager; 248 public void onLoginFailed(int errorCode) { 249 logger.i("login#onLoginFailed -> errorCode:%d", errorCode); 250 255 intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, errorCode); 256 if (errorCode == ErrorCode.E_MSG_SERVER_ERROR_CODE) { 257 intent.putExtra(SysConstant.KEY_MSG_SERVER_ERROR_CODE, msgServerErrorCode); 280 Intent intent = new Intent(IMActions.ACTION_LOGIN_RESULT); 281 intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, ErrorCode.S_OK); 282 if (ctx != null) { 479 // todo eric right now, no detail failed reason 480 onLoginFailed(ErrorCode.E_MSG_SERVER_ERROR_CODE); 481startup_stm32f102x6.s https://gitlab.com/balldir/BMP280_stm32f103 | Assembly | 355 lines
122 DCD I2C1_EV_IRQHandler ; I2C1 Event 123 DCD I2C1_ER_IRQHandler ; I2C1 Error 124 DCD 0 ; Reservedfcntl-linux.h https://gitlab.com/infected_/linaro_aarch64-linux-gnu-5.3.x | C Header | 419 lines
19#ifndef _FCNTL_H 20# error "Never use <bits/fcntl-linux.h> directly; include <fcntl.h> instead." 21#endifcomponent.php https://gitlab.com/alexprowars/bitrix | PHP | 304 lines
5{ 6 ShowError(GetMessage("BLOG_MODULE_NOT_INSTALL")); 7 return; 45$arResult["OK_MESSAGE"] = Array(); 46$arResult["ERROR_MESSAGE"] = Array(); 47 66 { 67 $errorMessage = ""; 68 $okMessage = ""; 126 else 127 $errorMessage = GetMessage("BLOG_BLOG_BLOG_MES_SHOW_ERROR"); 128 } 136 if ($errorMessage <> '') 137 $arResult["ERROR_MESSAGE"][] = $errorMessage; 138 if ($okMessage <> '')action.php https://gitlab.com/alexprowars/bitrix | PHP | 344 lines
167 // Second exit point 168 if (!empty($arError)): 169 $DB->Rollback(); 211 } 212 $MID = ForumAddMessage(($FORUM_TOPIC_ID > 0 ? "REPLY" : "NEW"), $arParams["FORUM_ID"], $FORUM_TOPIC_ID, 0, $arFieldsG, $strErrorMessage, $arNote, false, 213 $post["captcha_word"], 0, $post["captcha_code"]); 217 "code" => "message is not added 2", 218 "title" => (empty($strErrorMessage) ? GetMessage("F_ERR_ADD_MESSAGE") : $strErrorMessage)); 219 $arResult['RESULT'] = false; 233 if ($post["TOPIC_SUBSCRIBE"] == "Y"): 234 ForumSubscribeNewMessagesEx($arParams["FORUM_ID"], $FORUM_TOPIC_ID, "N", $strErrorMessage, $strOKMessage); 235 BXClearCache(true, "/bitrix/forum/user/".$USER->GetID()."/subscribe/"); 296 if ($res1): 297 $arError[] = array( 298 "code" => "file upload error",car_plantilla.control.php https://gitlab.com/talueses/SIPVE | PHP | 286 lines
47 /** 48 * @var string mensaje de exito o error 49 */ 240 241 // ------------------------------- MENSAJE ERROR --------------------------------// 242 if(!$exito){raw.c https://gitlab.com/VD-EDU/vd-iot-evalkit-sdk | C | 436 lines
165 * 166 * @return lwIP error code. 167 * - ERR_OK. Successful. No error occured. 188 * 189 * @return lwIP error code 190 *line.c https://gitlab.com/tlevine/DragonFlyBSD | C | 657 lines
171 if (FILE2INT(sp, data.data, data.size, wp, wlen)) { 172 if (!F_ISSET(sp, SC_CONV_ERROR)) { 173 F_SET(sp, SC_CONV_ERROR); 173 F_SET(sp, SC_CONV_ERROR); 174 msgq(sp, M_ERR, "324|Conversion error on line %d", lno); 175 } 618 * db_err -- 619 * Report a line error. 620 * 628 msgq(sp, M_ERR, 629 "008|Error: unable to retrieve line %lu", (u_long)lno); 630}parse-events.y https://gitlab.com/felipe_artur/linux-stable | Happy | 672 lines
303 struct parse_events_evlist *data = _data; 304 struct parse_events_error *error = data->error; 305 struct list_head *list; 315 struct parse_events_evlist *data = _data; 316 struct parse_events_error *error = data->error; 317 struct list_head *list; 327 struct parse_events_evlist *data = _data; 328 struct parse_events_error *error = data->error; 329 struct list_head *list; 385 struct parse_events_evlist *data = _data; 386 struct parse_events_error *error = data->error; 387 struct list_head *list; 447 struct parse_events_evlist *data = _data; 448 struct parse_events_error *error = data->error; 449 struct list_head *list;Makefile https://gitlab.com/77/android-kernel-lge-hammerhead | Makefile | 386 lines
101 102ERRORS = \ 103 E2BIG \ 330 @( \ 331 echo -e "\n<!-- Error Codes -->") >>$@ 332 @( \ 333 for ident in $(ERRORS) ; do \ 334 echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>" \ 335 "error code\">" >>$@ ; \0034_auto__del_field_flag_video.py https://gitlab.com/urbanjunglestudio/whambush-api | Python | 161 lines
17 # User chose to not deal with backwards NULL issues for 'Flag.video' 18 raise RuntimeError("Cannot reverse this migration. 'Flag.video' and its values cannot be restored.") 19help-options.php https://gitlab.com/endomorphosis/falkenstein | PHP | 121 lines
13 '<p>' . __('There are six overall categories of options to set, you can find details on each by selecting the related tab to the left.', $this->textdomain) . '</p>' . 14 '<p>' . __('CYAN Backup is a low level tool for WordPress and should be configured with care. Where ever possible, incorrect configurations are detected and a warning or error message will be displayed. However not all can be detected and you should be aware of the impact of your configuration on your site.', $this->textdomain) . '</p>' 15 ,post_thanks_admin.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 359 lines
10// ######################## SET PHP ENVIRONMENT ########################### 11error_reporting(E_ALL & ~E_NOTICE); 12@set_time_limit(0);jquery.atd.js https://gitlab.com/endomorphosis/falkenstein | JavaScript | 414 lines
81 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 82 AtD.callback_f.error(AtD.core.getErrorMessage(xml)); 83 126 127 error : function(XHR, status, error) { 128 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 128 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 129 AtD.callback_f.error(status + ": " + error); 130 }, 147 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 148 AtD.callback_f.error(AtD.core.getErrorMessage(xml)); 149 200AtD.editSelection = function() { 201 var parent = AtD.errorElement.parent(); 202CallReader.java git://github.com/twilio/twilio-java.git | Java | 379 lines
327 if (restException == null) { 328 throw new ApiException("Server Error, no content"); 329 }hoogle.js git://github.com/ndmitchell/hoogle.git | JavaScript | 417 lines
113 else if (current) 114 self.showError(e.status, e.responseText); 115 } 124 } catch (err) { 125 // Probably a permissions error from cross domain scripting... 126 watch.stop(); 140 showWaiting: function(){$("h1").text("Still working...");}, 141 showError: function(status,text){$body.html("<h1><b>Error:</b> status " + status + "</h1><p>" + text + "</p>")}, 142 showResult: function(text){$body.html(text); newDocs();} 228 showWaiting: function(){show("<i>Still working...</i>");}, 229 showError: function(status,text){show("<i>Error: status " + status + "</i>");}, 230 showResult: function(text){show(text);}, 402{ 403 if (!window.XDomainRequest) throw new Error("the XDomainRequest object is not supported in this browser"); 404dial.go git://github.com/axw/llgo.git | Go | 431 lines
313func dialSerial(ctx *dialContext, ras addrList, cancel <-chan struct{}) (Conn, error) { 314 var firstErr error // The error from the first address is most relevant. 315 358 if la != nil && la.Network() != ra.Network() { 359 return nil, &OpError{Op: "dial", Net: ctx.network, Source: la, Addr: ra, Err: errors.New("mismatched local address type " + la.Network())} 360 } 374 default: 375 return nil, &OpError{Op: "dial", Net: ctx.network, Source: la, Addr: ra, Err: &AddrError{Err: "unexpected address type", Addr: ctx.address}} 376 } 398 default: 399 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: laddr}} 400 } 424 default: 425 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: laddr}} 426 }sumeuler.hs git://github.com/PatrickMaier/HdpH.git | Haskell | 334 lines
206-- parse runtime system config options (+ seed for random number generator) 207-- abort if there is an error 208parseOpts :: [String] -> IO (RTSConf, Int, [String]) 211 case either_conf of 212 Left err_msg -> error $ "parseOpts: " ++ err_msg 213 Right (conf, []) -> return (conf, 0, [])RecentInfo.d git://github.com/gtkd-developers/GtkD.git | D | 521 lines
29private import gio.IconIF; 30private import glib.ErrorG; 31private import glib.GException; 99 * Returns: the newly created #GAppInfo, or %NULL. 100 * In case of error, @error will be set either with a 101 * %GTK_RECENT_MANAGER_ERROR or a %G_IO_ERROR 106 { 107 GError* err = null; 108 112 { 113 throw new GException( new ErrorG(err) ); 114 }domainr-search-box.js https://gitlab.com/Mirros/cdnjs | JavaScript | 552 lines
1(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.domainr = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ 2'use strict'; 16 if (!callback) { 17 throw new Error('[domainr] Missing callback'); 18 } 49 if (x.status != 200) { 50 util.error('Error fetching data: ' + x.responseText); 51 return; 57 } catch (e) { 58 util.error('Unable to parse data: ' + x.responseText + '; ' + e); 59 return; 75 var timeout = setTimeout(function() { 76 util.error('Timeout trying to retrieve ' + url); 77 }, 5000); 546 qs: qs, 547 error: error, 548 uniq: uniqjquery.tablesorter.pager.js https://gitlab.com/Mirros/cdnjs | JavaScript | 417 lines
188 if (exception) { 189 // add error row to thead instead of tbody, or clicking on the header will result in a parser error 190 $t.find('thead').append(err); 214 $t.before(c.temp); 215 $(document).ajaxError(function(e, xhr, settings, exception) { 216 renderAjax(null, table, c, exception);cp874.py https://gitlab.com/khainguyenptiter/project | Python | 307 lines
10 11 def encode(self,input,errors='strict'): 12 return codecs.charmap_encode(input,errors,encoding_table) 13 14 def decode(self,input,errors='strict'): 15 return codecs.charmap_decode(input,errors,decoding_table) 18 def encode(self, input, final=False): 19 return codecs.charmap_encode(input,self.errors,encoding_table)[0] 20 22 def decode(self, input, final=False): 23 return codecs.charmap_decode(input,self.errors,decoding_table)[0] 24posixpath.py https://gitlab.com/khainguyenptiter/project | Python | 404 lines
132 st = os.lstat(path) 133 except (os.error, AttributeError): 134 return False 142 st = os.lstat(path) 143 except os.error: 144 return False 183 s2 = os.lstat(join(path, '..')) 184 except os.error: 185 return False # It doesn't exist -- so not a mount point :-) 221 names = os.listdir(top) 222 except os.error: 223 return 228 st = os.lstat(name) 229 except os.error: 230 continueNativeObjectFactory.cc https://gitlab.com/xiaoliuliu2050/hadoop | C++ | 444 lines
42 // print out all the frames to stderr 43 fprintf(stderr, "Error: signal %d:\n", sig); 44ClientThread.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 423 lines
244 default : 245 System.err.println(threadId + ": Error! Unsupported request " 246 + request); 252 System.err.println(threadId 253 + ": An error occured while executing SQL request (" 254 + e.getMessage() + ")"); 306 { 307 insertStats.incrementError(); 308 } 310 { 311 updateStats.incrementError(); 312 } 314 { 315 deleteStats.incrementError(); 316 }FeatureManagerUIListener.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 449 lines
193 public boolean alreadyFailing = false; 194 public void failed(String licenceKey, PluginException error) { 195 if (DEBUG) { 195 if (DEBUG) { 196 System.out.println("FEAT: FAIL: " + licenceKey + ": " + error.toString()); 197 } 213 214 String s = Debug.getNestedExceptionMessage(error); 215 216 MessageBoxShell mb = new MessageBoxShell( 217 SWT.ICON_ERROR | SWT.OK, 218 "License Addition Error for " + licenceKey,dialog_es.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 216 lines
61dialog.button.ok = OK 62dialog.error.file.version.error = El fichero seleccionado procede de una versi\u00f3n m\u00e1s reciente \ 63 de ArgoUML y no puede ser cargado por esta versi\u00f3n. Ha sido guardado con ArgoUML {0}. \ 66 la memoria. Por favor intente volver a correr ArgoUML con la memoria incrementada. 67dialog.error.open.error = Error abriendo fichero : {0} 68dialog.error.open.save.error = Error abriendo/guardando fichero 68dialog.error.open.save.error = Error abriendo/guardando fichero 69dialog.error.save.error = Error guardando fichero : {0} 70dialog.error.title = Error 71dialog.error.uml.version.error = Versi\u00f3n no soportada de UML : {0} 72dialog.error.xmi.format.error = Error en el formato XMI : {0} \n\ 73 Si este fichero fue producido por una herramienta diferente a ArgoUML, por favor\n\ 81 http://argouml.tigris.org/project_bugs.html</a>. 82dialog.error.xmi.reference.error = XMI error en referencia externa al intentar leer : {0} \n\ 83 mensaje de error : {1} \n\rsv.js https://gitlab.com/adamlwalker/generatedata | JavaScript | 243 lines
12rsv.errorFieldClass=null; 13rsv.errorTextIntro="Please fix the following error(s) and resubmit:"; 14rsv.errorJSItemBullet="* "; 74if(!oneIsSelected||form[fieldName].length==0) 75{if(!rsv.processError(form[fieldName],errorMessage)) 76return false;}} 145break;case"same_as":if(form[fieldName].value!=form[fieldName2].value) 146{if(!rsv.processError(form[fieldName],errorMessage)) 147return false;} 197{var errorHTML=rsv.errorTextIntro+"<br /><br />";for(var i=0;i<errorInfo.length;i++) 198{errorHTML+=rsv.errorHTMLItemBullet+errorInfo[i][1]+"<br />";rsv.styleField(errorInfo[i][0],i==0);} 199if(errorInfo.length>0) 199if(errorInfo.length>0) 200{document.getElementById(rsv.errorTargetElementId).style.display="block";document.getElementById(rsv.errorTargetElementId).innerHTML=errorHTML;return false;} 201return true;}ParserTest.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 248 lines
13 14use Symfony\Component\CssSelector\Exception\SyntaxErrorException; 15use Symfony\Component\CssSelector\Node\FunctionNode; 38 $parser->parse($source); 39 $this->fail('Parser should throw a SyntaxErrorException.'); 40 } catch (SyntaxErrorException $e) { 90 $function = $selectors[0]->getTree(); 91 $this->setExpectedException('Symfony\Component\CssSelector\Exception\SyntaxErrorException'); 92 Parser::parseSeries($function->getArguments()); 142 return array( 143 array('attributes(href)/html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 144 array('attributes(href)', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 144 array('attributes(href)', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 145 array('html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '/', 4))->getMessage()), 146 array(' ', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_FILE_END, '', 1))->getMessage()),nislib.h https://gitlab.com/infected_/linaro_aarch64-linux-gnu-4.9.x | C Header | 286 lines
139 nis_tag **__result) __THROW; 140extern nis_error nis_stats (const nis_server *__machine, 141 const nis_tag *__tags, int __numtags, 175/* 176** nis_error 177*/ 178extern const char *nis_sperrno (const nis_error __status) __THROW; 179extern void nis_perror (const nis_error __status, const char *__label) __THROW; 180extern void nis_lerror (const nis_error __status, const char *__label) __THROW; 181extern char *nis_sperror (const nis_error status, const char *__label) __THROW; 182extern char *nis_sperror_r (const nis_error __status, const char *__label, 183 char *__buffer, size_t __buflen) __THROW; 190 const_nis_name __group) __THROW; 191extern nis_error nis_removemember (const_nis_name __member, 192 const_nis_name __group) __THROW;start-impala-cluster.py https://gitlab.com/s9perween/Impala | Python | 286 lines
101 print "Starting State Store logging to %s/statestored.INFO" % options.log_dir 102 stderr_log_file_path = os.path.join(options.log_dir, "statestore-error.log") 103 args = "%s %s" % (build_impalad_logging_args(0, "statestored"), 108 print "Starting Catalog Service logging to %s/catalogd.INFO" % options.log_dir 109 stderr_log_file_path = os.path.join(options.log_dir, "catalogd-error.log") 110 args = "%s %s %s" % (build_impalad_logging_args(0, "catalogd"), 118 (cluster_size, build_impalad_logging_args(0, 'mini-impala-cluster')) 119 stderr_log_file_path = os.path.join(options.log_dir, 'mini-impala-cluster-error.log') 120 exec_impala_process(MINI_IMPALA_CLUSTER_PATH, args, stderr_log_file_path) 153 build_impalad_port_args(i), options.impalad_args.replace("#ID", str(i))) 154 stderr_log_file_path = os.path.join(options.log_dir, '%s-error.log' % service_name) 155 exec_impala_process(IMPALAD_PATH, args, stderr_log_file_path) 161 number based on CLUSTER_SIZE, or the retry limit is hit. Failing this, raise a 162 RuntimeError. 163 """agent.py https://gitlab.com/meetly/dd-agent | Python | 394 lines
114 def info(cls, verbose=None): 115 logging.getLogger().setLevel(logging.ERROR) 116 return CollectorStatus.print_latest_status(verbose=verbose) 287 if command not in DD_AGENT_COMMANDS: 288 # Will become an error message and exit after deprecation period 289 from utils.deprecations import deprecate_old_command_line_tools 387 sys.exit(main()) 388 except StandardError: 389 # Try our best to log the error. 390 try: 391 log.exception("Uncaught error running the Agent") 392 except Exception:fruchterman_reingold.hpp https://gitlab.com/cdeclare/intcrypt | C++ Header | 384 lines
12#ifndef BOOST_GRAPH_USE_MPI 13#error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included" 14#endiftlv320aic26.c https://gitlab.com/bsd1993/android_kernel_zte_x9180 | C | 458 lines
66 if (rc) { 67 dev_err(&aic26->spi->dev, "AIC26 reg read error\n"); 68 return -EIO; 112 if (rc) { 113 dev_err(&aic26->spi->dev, "AIC26 reg read error\n"); 114 return -EIO; 387 if (ret) 388 dev_info(codec->dev, "error creating sysfs files\n"); 389cimax2.c https://gitlab.com/bsd1993/android_kernel_zte_x9180 | C | 536 lines
110 if (ret != 2) { 111 ci_dbg_print("%s: i2c read error, Reg = 0x%02x, Status = %d\n", 112 __func__, reg, ret); 141 if (ret != 1) { 142 ci_dbg_print("%s: i2c write error, Reg=[0x%02x], Status=%d\n", 143 __func__, reg, ret); 514err: 515 ci_dbg_print("%s: Cannot initialize CI: Error %d.\n", __func__, ret); 516 kfree(state);ClpSerializer.java git://github.com/liferay/liferay-portal.git | Java | 444 lines
361 catch (Throwable throwable2) { 362 _log.error(throwable2, throwable2); 363dm-io.c https://gitlab.com/webhaikal/SenseiRN3 | C | 519 lines
118 if (error) 119 set_bit(region, &io->error_bits); 120 129 else { 130 unsigned long r = io->error_bits; 131 io_notify_fn fn = io->callback; 379 struct dm_io_region *where, int rw, struct dpages *dp, 380 unsigned long *error_bits) 381{ 396 397 io->error_bits = 0; 398 atomic_set(&io->count, 1); /* see dispatch_io() */ 409 if (error_bits) 410 *error_bits = io->error_bits; 411texture.rs https://gitlab.com/rardiol/BroaNetCo | Rust | 398 lines
121 Params, 122 IN: TryIntoParams<Params, OUT, Error = Error>, 123 OUT, 197{ 198 type Error = <TIn as TryIntoParams<Params, TOut>>::Error; 199 fn try_into_params(self, params: &mut Params) -> Result<(MapLocation, TOut), Self::Error> { 285{ 286 type Error = <NTD as TryIntoParams<Params, NTDOut>>::Error; 287 fn try_into_params(self, params: &mut Params) -> Result<Faction<NTDOut>, Self::Error> { 302{ 303 type Error = <NTD as TryIntoParams<Params, NTDOut>>::Error; 304 fn try_into_params(self, params: &mut Params) -> Result<GodGSApply<NTDOut>, Self::Error> { 328{ 329 type Error = <NTD as TryIntoParams<Params, NTDOut>>::Error; 330 fn try_into_params(self, params: &mut Params) -> Result<AIGameMaster<NTDOut>, Self::Error> {ia32_aout.c https://gitlab.com/webhaikal/SenseiRN3 | C | 492 lines
328 329 if (error != (text_addr & PAGE_MASK)) { 330 send_sig(SIGKILL, current, 0); 341#ifdef WARN_OLD 342 static unsigned long error_time, error_time2; 343 if ((ex.a_text & 0xfff || ex.a_data & 0xfff) && 372 373 if (error != N_TXTADDR(ex)) { 374 send_sig(SIGKILL, current, 0); 374 send_sig(SIGKILL, current, 0); 375 return error; 376 } 470 retval = error; 471 if (error != start_addr + len) 472 goto out;msm-pmi8994.dtsi https://gitlab.com/webhaikal/SenseiRN3 | Device Tree | 573 lines
200 201 interrupt-names = "chg-error", 202 "chg-inhibit",dsdcg.f http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 277 lines
61C routines. For this case, the user must supply the "exact" 62C solution or a very accurate approximation (one with an error 63C much less than TOL) through a common block, 84C ERR :OUT Double Precision. 85C Error estimate of error in final approximate solution, as 86C defined by ITOL. 87C IERR :OUT Integer. 88C Return error flag. 89C IERR = 0 => All went well. 91C IERR = 2 => Method failed to converge in ITMAX steps. 92C IERR = 3 => Error in user input. 93C Check input values of N, ITOL. 93C Check input values of N, ITOL. 94C IERR = 4 => User error tolerance set too tight. 95C Reset to 500*D1MACH(3). Iteration proceeded.YVFK.F http://ua-fwlis.googlecode.com/svn/trunk/ | FORTRAN Legacy | 465 lines
323* FUNCTION IS AT THE MIDDLE OF THE PARALLEL PLATES. WE NEED TO MAKE SURE 324* THAT THE RELATIVE ERROR BOUND IS SATISFIED AT LEAST 3 TIMES 325* LATER COMMENT: NOTE THAT THIS IS POSSIBLY TAKEN CARE OF BY ONLY SUMMING 395* FUNCTION IS AT THE MIDDLE OF THE PARALLEL PLATES. WE NEED TO MAKE SURE 396* THAT THE RELATIVE ERROR BOUND IS SATISFIED AT LEAST 3 TIMES 397* LATER COMMENT: NOTE THAT THIS IS POSSIBLY TAKEN CARE OF BY ONLY SUMMINGresult.py http://nltk.googlecode.com/svn/trunk/ | Python | 343 lines
18from nltk_contrib.tiger.index import IndexNodeId 19from nltk_contrib.tiger.query.exceptions import MissingFeatureError 20from nltk_contrib.tiger.utils.parallel import multiprocessing 232 else: 233 raise MissingFeatureError, "Missing feature: disjoint constraint sets. Please file a bug report." 234 self._reset_stats() 245 return self._ncache[node_id] 246 except KeyError: 247 self.node_cache_misses += 1EventLog.pm http://libwin32.googlecode.com/svn/trunk/ | Perl | 474 lines
26 EVENTLOG_END_PAIRED_EVENT 27 EVENTLOG_ERROR_TYPE 28 EVENTLOG_FORWARDS_READ 43 ($constname = $AUTOLOAD) =~ s/.*:://; 44 # reset $! to zero to reset any current errors. 45 local $! = 0; 334 335=item C<EVENTLOG_ERROR_TYPE> 336 336 337An Error event is being logged. 338wspy_dissector.py http://cwoodruf-sfu-cmpt.googlecode.com/svn/trunk/ | Python | 444 lines
155 return self.__st[name] 156 #raise KeyError 157advi.sty git://git.savannah.nongnu.org/skribilo.git | TeX | 417 lines
37 \expandafter \@firstoftwo \else \expandafter \@secondoftwo \fi} 38\def \advi@error #1{\PackageError {Advi}{#1}{Type <RETURN> to proceed.}} 39\def \advi@warning #1{\PackageWarning {Advi}{#1}} 39\def \advi@warning #1{\PackageWarning {Advi}{#1}} 40\def \advi@undefinedenv {\advi@error {Environment \@currenvir\space undefined. 41Maybe you mean \@currenvir ing}} 174 {\advi@global \def \advi@bgfit{ fit=#1}} 175 {\advi@error {Ill formed background fit=#1}}% 176 \fi} 368 \advi@special@ {html:<a hdvi="#2">}\else 369 \advi@error {Incorect anchor mode #1}\fi \fi\endgroup} 370 {\advi@special@ {html:</a>}}elfinder.es.js https://gitlab.com/r.collas/site_central | JavaScript | 291 lines
13 /********************************** errors **********************************/ 14 'error' : 'Error', 15 'errUnknown' : 'Error desconocido.', 50 'errCopyTo' : 'No se permite copiar archivos al volumen "$1".', 51 'errUploadCommon' : 'Error en el envñio.', 52 'errUpload' : 'No se puede subir "$1".', 56 'errUploadMime' : 'Tipo de archivo no permitidp.', 57 'errUploadTransfer' : 'Error al transferir "$1".', 58 'errSave' : 'No se puede guadar "$1".',prolog.py http://hagoth.googlecode.com/svn/trunk/ | Python | 384 lines
172 173 Raises ValueError if a mapping already exists or the key is not a var. 174 """ 175 if not self.is_var(var): 176 raise ValueError("Tried to insert non-var %s into map" % (var,)) 177 if var.name in self.vardict: 177 if var.name in self.vardict: 178 raise ValueError("%s is already in the mapping" % (var,)) 179 190 if not self.is_var(var): 191 raise ValueError("Got something other than a variable") 192 197 if not self.is_var(var): 198 raise ValueError("Got something other than a variable") 199Xmlable.hs http://hixay.googlecode.com/svn/trunk/ | Haskell | 324 lines
33 34newtype Errors = Errors { errors :: [(Int, String)] } deriving Eq 35instance Monoid Errors where 40 LT -> b 41instance Error Errors where 42 noMsg = mempty 102 103throwErrorX s = get >>= \xs -> throwError $ Errors $ case xs of 104 [] -> [(-1, "There is not enough xml data")] 105 ((n,x):_) -> [(n, s ++ " at " ++ show (map snd $ takeWhile ((==n) . fst) xs) ++ ". Position = " ++ show n)] 106bindX m s = m `catchError` (throwError . Errors . map (second $ (s++) . (" -> "++)) . errors) 107 116 getEnv [(_, Attr n _)] = XdcAttr n; getEnv [(_, Val _)] = XdcVal; getEnv [(_, ElemB n _)] = XdcElem n [] 117 getEnv x = error $ "Error in list parsing (getEnv). Param: " ++ show x 118liquidwartex.c git://git.savannah.nongnu.org/liquidwar.git | C | 448 lines
173 if (!FLAG_HELP) 174 printf ("ERROR! Too few arguments.\n"); 175 } 198 if (!FLAG_HELP) 199 printf ("ERROR! Color number must be between 8 and 32"); 200 } 207 if (!FLAG_HELP) 208 printf ("ERROR! Too few arguments.\n"); 209 } 232 if (!success) 233 printf ("ERROR! Unable to read '%s'.\n", filename); 234 return success; 271 { 272 printf ("ERROR! Texture is too small.\n"); 273 DST_W = DST_H = 1;FileDatastore.tex https://code.google.com/p/opensees-websocket/ | LaTeX | 252 lines
92these arrays. If the files could not be opened, or there is not enough 93memory for the arrays an error message is printed and the program 94is terminated. \\ 114the time of this last commit are the same. If they are different, an 115error message is printed and $-1$ is returned. A check is then made to 116see if the component base relations have been updated for this current domain 122needed to be updated. A warning message and a negative number is 123printed if an error occurs. \\ 124 127The object first obtains from the Domain relation the information for 128{\em commitTag}. If no information exists, an error message is printed 129and a $-1$ is returned. A check is then made to see if the domain 138with current time and load factor. A warning message and a negative 139number is printed if an error occurs. \\ 140kmessageserver.cpp git://pkgs.fedoraproject.org/kdegames3 | C++ | 516 lines
132 { 133 kdError(11001) << k_funcinfo << ": Serversocket::ok() == false" << endl; 134 delete d->mServerSocket; 176 { 177 kdError (11001) << k_funcinfo << ": Maximum number of clients reached!" << endl; 178 return; 227 { 228 kdError(11001) << k_funcinfo << ": Deleting client that wasn't added before!" << endl; 229 return; 256 { 257 kdError (11001) << k_funcinfo << ": sender of the signal was not a KMessageIO object!" << endl; 258 return; 364 { 365 kdError (11001) << k_funcinfo << ": slot was not called from KMessageIO!" << endl; 366 return;qd_port.cpp git://pkgs.fedoraproject.org/djvulibre | C++ | 410 lines
148 149QDPort::QDPort(bool _watch_errors, bool _watch_status, 150 QObject * parent, const char * name) : 151 QObject(parent, name), 152 watch_errors(_watch_errors), watch_status(_watch_status) 153{ 153{ 154 sig_error_on=sig_status_on=sig_redisplay_on= 155 sig_relayout_on=sig_chunk_done_on= 171 if (!strncmp(s, SIGNAL(sigNotifyError(const GP<DjVuPort> &, const GUTF8String &)), len)) 172 sig_error_on=1; 173 if (!strncmp(s, SIGNAL(sigNotifyStatus(const GP<DjVuPort> &, const QString &)), len)) 284{ 285 if (sig_error_on && watch_errors) 286 {asn1_lib.c https://gitlab.com/Teo-Mirror/AtomicGameEngine | C | 483 lines
288 if (!ASN1_const_check_infinite_end(&c->p, c->slen)) { 289 c->error = ERR_R_MISSING_ASN1_EOS; 290 return (0); 293 if (((c->slen != 0) && !(c->inf & 1)) || ((c->slen < 0) && (c->inf & 1))) { 294 c->error = ERR_R_ASN1_LENGTH_MISMATCH; 295 return (0); 317 if (c->inf & 0x80) { 318 c->error = ERR_R_BAD_GET_ASN1_OBJECT_CALL; 319 return (0); 321 if (c->tag != V_ASN1_SEQUENCE) { 322 c->error = ERR_R_EXPECTING_AN_ASN1_SEQUENCE; 323 return (0); 326 if (c->max && (*length < 0)) { 327 c->error = ERR_R_ASN1_LENGTH_MISMATCH; 328 return (0);tb_parser.cpp https://gitlab.com/Teo-Mirror/AtomicGameEngine | C++ | 496 lines
276 { 277 target->OnError(current_line_nr, "Indentation error. Mixed tabs and spaces (Line skipped)"); 278 return; 312 { 313 target->OnError(current_line_nr, "Indentation error. (Line skipped)"); 314 return; 318 { 319 // FIX: Report indentation error if more than 1 higher! 320 assert(indent - current_indent == 1); 396 if (!*line) 397 break; // Syntax error, expected token 398 *line++ = 0;linux-crypto.c https://gitlab.com/felipe_artur/linux-stable | C | 444 lines
140 * \retval 0 for success 141 * \retval negative errno for other errors from lower 142 * layers. 192 * \retval pointer to descriptor of hash instance 193 * \retval ERR_PTR(errno) in case of error 194 */ 269 * \retval -EOVERFLOW if hash_len is too small for the hash digest 270 * \retval negative errno for other errors from lower layers 271 */ 356 cfs_crypto_hash_speeds[hash_alg] = err; 357 CDEBUG(D_INFO, "Crypto hash algorithm %s test error: rc = %d\n", 358 cfs_crypto_hash_name(hash_alg), err);HashDatabaseTest.cs https://gitlab.com/OpenSourceMirror/sourcenav | C# | 466 lines
143 hashConfig.Duplicates = DuplicatesPolicy.UNSORTED; 144 hashConfig.ErrorPrefix = testName; 145MainPage.xaml.cs https://SolutionFramework.svn.codeplex.com/svn | C# | 353 lines
218 var packageInfo = messageParts.ElementAt(1); 219 var errorMessage = messageParts.ElementAt(2); 220 var stackTrace = string.Empty; 232 233 textBlock.Text = packageName + " " + errorMessage; 234 textBlock.Foreground = new SolidColorBrush(Colors.Red); 236 237 package.Messages.Add(new PackageMessage(errorMessage, stackTrace)); 238 257 { 258 var errorMessage = messageParts.ElementAt(1); 259 var stackTrace = messageParts.ElementAt(1); 261 262 textBlock.Text = errorMessage; 263SocketExtensions.cs https://rxx.svn.codeplex.com/svn | C# | 417 lines
102 { 103 errorCode = default(SocketError); 104 } 124 Justification = "The args object is disposed in the EndInvoke method.")] 125 internal static IAsyncResult BeginReceive(this Socket socket, byte[] buffer, int offset, int size, out SocketError errorCode, AsyncCallback callback, object state) 126 { 186 Justification = "Needed for parity with .NET 4.0 Framework.")] 187 internal static int EndReceive(this Socket socket, IAsyncResult asyncResult, out SocketError errorCode) 188 { 192 { 193 errorCode = args.SocketError; 194 292 { 293 errorCode = default(SocketError); 294 }validate.js https://gitlab.com/encore-un/hydra | JavaScript | 397 lines
7 this.errors = []; 8 this.handleError = collectMultiple ? this.collectError : this.returnError; 9 if (checkRecursive) { 312 } else if (scannedSchemasIndex !== null) { 313 data[this.validationErrorsKey][scannedSchemasIndex] = this.errors.slice(startErrorCount); 314 } 323 if (typeof errorMessage === 'string' || typeof errorMessage === 'number') { 324 return this.createError(ErrorCodes.FORMAT_CUSTOM, {message: errorMessage}, '', '/format', null, data, schema); 325 } else if (errorMessage && typeof errorMessage === 'object') { 325 } else if (errorMessage && typeof errorMessage === 'object') { 326 return this.createError(ErrorCodes.FORMAT_CUSTOM, {message: errorMessage.message || "?"}, errorMessage.dataPath || '', errorMessage.schemaPath || "/format", null, data, schema); 327 } 344 if (!ErrorCodes[code]) { 345 throw new Error('Undefined error code (use defineError): ' + code); 346 }pre_signin_policy_fetcher.cc git://github.com/chromium/chromium.git | C++ | 341 lines
93 base::Optional<cryptohome::BaseReply> reply) { 94 if (MountExReplyToMountError(reply) != cryptohome::MOUNT_ERROR_NONE) { 95 LOG(ERROR) << "Temporary user home mount failed."; 95 LOG(ERROR) << "Temporary user home mount failed."; 96 NotifyCallback(PolicyFetchResult::ERROR, nullptr); 97 return; 142 base::Optional<cryptohome::BaseReply> reply) { 143 if (BaseReplyToMountError(reply) != cryptohome::MOUNT_ERROR_NONE) { 144 // The temporary userhome mount could not be unmounted. Log an error and 147 // mount request). 148 LOG(ERROR) << "Couldn't unmount temporary mount point"; 149 } 151 if (retrieve_policy_response != RetrievePolicyResponseType::SUCCESS) { 152 NotifyCallback(PolicyFetchResult::ERROR, nullptr); 153 return;can.c https://github.com/derkling/DerkGPS.git | C | 485 lines
110unsigned int canBxCount = 0; // Frame Buffer Receive Interrupt 111unsigned int canMObErrCount = 0; // CAN General error count 112unsigned int canAckMObErrCount = 0; // Acknowledgment Error 112unsigned int canAckMObErrCount = 0; // Acknowledgment Error 113unsigned int canForMObErrCount = 0; // Form Error 114unsigned int canCrcMObErrCount = 0; // CRC Error 114unsigned int canCrcMObErrCount = 0; // CRC Error 115unsigned int canStuMObErrCount = 0; // Stuff Error 116unsigned int canBitMObErrCount = 0; // Bit Error (Only in Transmission) 116unsigned int canBitMObErrCount = 0; // Bit Error (Only in Transmission) 117unsigned int canGenErrCount = 0; // CAN General error count 118unsigned int canAckGenErrCount = 0; // Acknowledgment Error 118unsigned int canAckGenErrCount = 0; // Acknowledgment Error 119unsigned int canForGenErrCount = 0; // Form Error 120unsigned int canCrcGenErrCount = 0; // CRC Errorscreen.css https://github.com/opentransact/nubux.git | CSS | 227 lines
166#content .body .flash { border-radius: 0.2em; -webkit-border-radius: 0.2em; -moz-border-radius: 0.2em; background: #AFA; padding: 0.5em; margin-bottom: 0.5em; } 167#content .body .flash.error { background: #FAA; } 168#content form input { font-size: 1.2em; } 172#content form .memo_confirmation { border: 1px solid #aaa; padding: 0.5em; font-size: 1.2em; color: #006; margin: 0.5em 0; } 173#content form .formError { color: red; display: inline; } 174README.md https://gitlab.com/jasonbishop/contrib | Markdown | 355 lines
84 85 // Use the Airbrake hook to report errors that have Error severity or above to 86 // an exception tracker. You can create custom hooks, see the Hooks section. 194 if err != nil { 195 log.Error("Unable to connect to local syslog daemon") 196 } else { 204| ----- | ----------- | 205| [Airbrake](https://github.com/Sirupsen/logrus/blob/master/hooks/airbrake/airbrake.go) | Send errors to an exception tracking service compatible with the Airbrake API. Uses [`airbrake-go`](https://github.com/tobi/airbrake-go) behind the scenes. | 206| [Papertrail](https://github.com/Sirupsen/logrus/blob/master/hooks/papertrail/papertrail.go) | Send errors to the Papertrail hosted logging service via UDP. | 208| [BugSnag](https://github.com/Sirupsen/logrus/blob/master/hooks/bugsnag/bugsnag.go) | Send errors to the Bugsnag exception tracking service. | 209| [Sentry](https://github.com/Sirupsen/logrus/blob/master/hooks/sentry/sentry.go) | Send errors to the Sentry error logging and aggregation service. | 210| [Hiprus](https://github.com/nubo/hiprus) | Send errors to a channel in hipchat. | 218| [Mail](https://github.com/zbindenren/logrus_mail) | Hook for sending exceptions via mail | 219| [Rollrus](https://github.com/heroku/rollrus) | Hook for sending errors to rollbar | 220lammpsrun.py https://gitlab.com/mbarbry/ase | Python | 387 lines
108 return data[:, cols] 109 except ValueError: 110 return None 327 328 # wrap struct.unpack to raise EOFError 329 def read_variables(string): 332 if obj_len != len(data_obj): 333 raise EOFError 334 return struct.unpack(string, data_obj) 348 if len(colnames) != size_one: 349 raise ValueError("Provided columns do not match binary file") 350 383 384 except EOFError: 385 breakapplication_ref.js https://gitlab.com/hashmi.smf/routingangular2 | JavaScript | 351 lines
221 ObservableWrapper.subscribe(zone.onError, (error) => { 222 this._exceptionHandler.call(error.error, error.stackTrace); 223 }); 243 // of `zone.run` as Dart swallows rejected promises 244 // via the onError callback of the promise. 245 var completer = PromiseWrapper.completer();module_test.rb https://gitlab.com/mpivaa/rails | Ruby | 509 lines
157 def test_missing_delegation_target 158 assert_raise(ArgumentError) do 159 Name.send :delegate, :nowhere 160 end 161 assert_raise(ArgumentError) do 162 Name.send :delegate, :noplace, :tos => :hollywood 185 def test_delegation_prefix_with_instance_variable 186 assert_raise ArgumentError do 187 Class.new do 208 project = Project.new(false, false) 209 assert_raise(NoMethodError) { project.name } 210 end 213 rails = Project.new("Rails", "David") 214 assert_raise(NoMethodError) { rails.name } 215 endHandle.pm http://dwarvis.googlecode.com/svn/trunk/ | Perl | 566 lines
85Wait until the filehandle is readable or writable (and return true) or 86until an error condition happens (and return false). 87util.py https://code.google.com/p/nubox/ | Python | 395 lines
30 item_typecode = TYPE_TO_TYPECODE[item_type] 31 except KeyError: 32 item_typecode = OBJECT_TYPECODES[0] 104 isatomic = False 105 except TypeError: 106 isiterable = False 169 if len(slices) != len(shape): 170 raise ValueError("number of slices must match shape") 171 nd_indices = [] 223 if ln < 2: 224 raise ValueError('at least 2 breakpoints required') 225 breakids = [] 254# if len(colors) != 240: 255# raise ValueError("Array has to be of length 240.") 256# init = ''s_account.lua http://mta-venux.googlecode.com/svn/trunk/ | Lua | 331 lines
75 outputChatBox("Username or password is invalid! You only have "..(3-attempts).." attempts left!",thePlayer, 255,0,0 ) 76 --return outputDebugString("ERROR 1: Failed to retrieve account for user: ".. getPlayerName(thePlayer) .." function: attemptLogin", 3) 77 end 86 if ( username ~= "" and password ~= "" ) then 87 local success, error = exports.sql:query_free("INSERT INTO `accounts` VALUES('', '".. tostring(username) .."', '".. md5( tostring( password ) ) .."', '".. getPlayerSerial(thePlayer) .."', '0')") 88 if ( error ) then 88 if ( error ) then 89 return outputDebugString( error ) 90 else 109 if ( q == false ) then 110 outputDebugString("Error: This player doesnt have any characters.", 3) -- output info message. 111 outputChatBox("* You do not have any characters yet, please create one to play.", thePlayer, 180, 100, 0 ) 134 else 135 return outputDebugString("ERROR 5: setupCharacterSelect could not be started, first IF failed.", 2) 136 endlibip6tc.c http://xpkit.googlecode.com/svn/trunk/xpkit/ | C | 443 lines
5 * Chains go INPUT, FORWARD, OUTPUT then user chains. 6 * Each user chain starts with an ERROR node. 7 * Every chain ends with an unconditional jump: a RETURN for user chains, 59 60#define ERROR_TARGET IP6T_ERROR_TARGET 61#define NUMHOOKS NF_IP6_NUMHOOKS 93#define TC_COMMIT ip6tc_commit 94#define TC_STRERROR ip6tc_strerror 95 201 printf("verdict=%u\n", pos); 202 } else if (strcmp(t->u.user.name, IP6T_ERROR_TARGET) == 0) 203 printf("error=`%s'\n", t->data); 435 436 /* Final entry must be error node */ 437 assert(strcmp(GET_TARGET(index2entry(h, h->new_number-1))gitlab-ci.rst https://github.com/gromacs/gromacs.git | ReStructuredText | 282 lines
85 :file:`admin/gitlab-ci/rules.gitlab-ci.yml`). 86 Errors or unexpected behavior will occur if you specify more than one 87 *.rules:...* template, or if you use these parameters in combination 88 with a *.rules...* template. 89 To reduce errors and unexpected behavior, restrict usage of these controls 90 to regular job definitions (don't use in "hidden" or parent jobs).x86-64-specific-reg.l https://github.com/atgreen/moxiedev.git | LEX | 376 lines
11.*:[0-9]*: Warning: .*rax.*rsi.* 12.*:[0-9]*: Error: .*rax.* 2 .*mwait.* 13.*:[0-9]*: Error: .*rax.* 2 .*monitor.* 13.*:[0-9]*: Error: .*rax.* 2 .*monitor.* 14.*:[0-9]*: Error: .*rax.* 3 .*monitor.* 15.*:[0-9]*: Error: .*eax.* 2 .*invlpga.* 25.*:[0-9]*: Warning: .*rcx.*rsi.* 26.*:[0-9]*: Error: .*rcx.* 1 .*mwait.* 27.*:[0-9]*: Error: .*rcx.* 1 .*monitor.* 27.*:[0-9]*: Error: .*rcx.* 1 .*monitor.* 28.*:[0-9]*: Error: .*rcx.* 3 .*monitor.* 29.*:[0-9]*: Error: .*rcx.* 1 .*vmload.* 29.*:[0-9]*: Error: .*rcx.* 1 .*vmload.* 30.*:[0-9]*: Error: .*rcx.* 1 .*vmrun.* 31.*:[0-9]*: Error: .*rcx.* 1 .*vmsave.*CHANGELOG.md https://github.com/mongomapper/mongomapper.git | Markdown | 320 lines
81* PR-628 jamieorc <jamieorc@gmail.com> Corrected a regression on Set keys with typecast 82* PR-611 SteffanPerry <sperry1988@gmail.com> Missing yaml requirement was throwing error on rail 4.2.1: "uninitialized constant `MongoMapper::Railtie::YAML` (NameError)" 83* Add `attributes` to reserved keys 126 127* (Optionally) allow only static (defined) keys, and raise errors for keys that haven't been defined (mimic Mongoid's allow_dynamic_fields = false). 128 137 p = Person.new 138 p['non_defined_key'] = 'foo' # => MissingKeyError 139 ``` 183* Fix autosupport loading issue (See rails issue 14664), and add test for ruby 2.1.1 [leifcr] 184* Fix syntax error in rescue response declarations for rails < 3.2 was causing MongoMapper::DocumentNotFound exceptions to cause an exception in WebBrick's exception handling in development. [bsoule] 185 188* Lock rest-client to 1.6.7 to ensure installation on 1.8.7 189* Added error message: can't mass assign protected attribute. This should be deprecated for proper protected_attributes support down the road. [ThomasAlxDmy] 190* Add a spec to check for extra whitespace in files [rthbound]flash.c https://github.com/atgreen/moxiedev.git | C | 573 lines
234 if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) { 235 printf ("** ERROR: sector count %d > max (%d) **\n", 236 info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);nl.po.in git://git.savannah.gnu.org/gsasl.git | Autoconf | 300 lines
24 25#: src/error.c:46 26msgid "Libgsasl success" 28 29#: src/error.c:47 30msgid "SASL mechanism needs more data" 32 33#: src/error.c:48 34msgid "Unknown SASL mechanism" 36 37#: src/error.c:50 38msgid "SASL mechanism called too many times" 40 41#: src/error.c:52 42msgid "SASL function needs larger buffer (internal error)"OWSExceptionReport.java http://geoforge.googlecode.com/svn/trunk/ | Java | 340 lines
24 * report XML document. Exception reports typically contain one or more independent exceptions indicating an independent 25 * error. 26 * <p/> 39 /** 40 * Indicates the exception report's list of web service exceptions. Each exception indicates an independent error. 41 * Initially assigned to a new <code>ArrayList</code>. 119 /** 120 * Indicates this exception report's list of web service exceptions. Each exception indicates an independent error. 121 * 131 /** 132 * Specifies this exception report's list of web service exceptions. Each exception indicates an independent error. 133 *Default.ascx http://pigeoncms.googlecode.com/svn/trunk/ | ASP.NET | 226 lines
24 <h1><%=base.GetLabel("ModuleTitle", "Comments")%></h1> 25 <asp:Label ID="LblErr" runat="server" Text="" CssClass="error"></asp:Label> 26 <asp:Label ID="LblOk" runat="server" Text="" CssClass="success"></asp:Label>mapping.py https://code.google.com/p/mappa/ | Python | 369 lines
70 71 def handle_literal(self, handler, error_handler, subject, predicate_iri, value, datatype, language): 72 """\ 74 """ 75 error_handler.reject_literal(self.name, value, datatype) 76 76 77 def handle_object(self, handler, error_handler, subject, predicate_iri, obj, is_blank_node): 78 """\ 80 """ 81 error_handler.reject_nonliteral(self.name, obj) 82 179 180 def handle_object(self, handler, error_handler, subject, predicate_iri, obj, is_blank_node): 181 handler.startAssociation()Patch.java http://mater.googlecode.com/svn/trunk/ | Java | 467 lines
85 //System.out.print("ADD = "+ new Double((610 / e) )+" ; "); 86 //MaterModel.pError("model.getMaxPopDensity = "+ model.getMaxPopDensity() + " model.getMinPopDensity = " + model.getMinPopDensity() + " model.getOverallMaxPopDensity = "+ model.getOverallMaxPopDensity() + " model.getOverallMinPopDensity = "+ model.getOverallMinPopDensity()); 87 //MaterModel.pError("**********************"); 87 //MaterModel.pError("**********************"); 88 //MaterModel.pError("elevation = "+ this.elevation + "elevation / MAX_E = " + this.elevation / MAX_E); 89 //MaterModel.pError("RESULT: "+ e); 90 /*if( e < 0 ) 91 MaterModel.pError("BUG: valor de capacidade de suporte de uma c?Šlula inferior a 0!!! elevation is "+this.elevation+ " and isWater "+this.water);*/ 92 return e; 105 //System.out.print("ADD = "+ new Double((610 / e) )+" ; "); 106 //MaterModel.pError("model.getMaxPopDensity = "+ model.getMaxPopDensity() + " model.getMinPopDensity = " + model.getMinPopDensity() + " model.getOverallMaxPopDensity = "+ model.getOverallMaxPopDensity() + " model.getOverallMinPopDensity = "+ model.getOverallMinPopDensity()); 107 //MaterModel.pError("**********************"); 107 //MaterModel.pError("**********************"); 108 //MaterModel.pError("elevation = "+ this.elevation + "elevation / MAX_E = " + this.elevation / MAX_E); 109 //MaterModel.pError("RESULT: "+ e);packmime_ranvar.h http://uu-cope.googlecode.com/svn/trunk/ | C Header | 383 lines
219 static const double RATE_SCALE2; /* Gamma rate parameter of scale^2 */ 220 static const double V_ERROR; /* variance of error */ 221}; 245 static const double RATE_SCALE2; /* Gamma rate parameter of scale^2 */ 246 static const double V_ERROR; /* variance of error */ 247}; 333 static const double RATE_SCALE2_B; /* Gamma rate param of scale^2 */ 334 static const double V_ERROR_B; /* variance of error */ 335 354 static const double RATE_SCALE2_W; /* Gamma rate param of scale^2 */ 355 static const double V_ERROR_W; /* variance of error */ 356__init__.py https://bitbucket.org/birkenfeld/sphinx/ | Python | 351 lines
18from sphinx import package_dir 19from sphinx.errors import PycodeError 20from sphinx.pycode import nodes 188 except Exception as err: 189 raise PycodeError('error opening %r' % filename, err) 190 obj = cls(fileobj, modname, filename) 197 entry = cls.cache['module', modname] 198 if isinstance(entry, PycodeError): 199 raise entry 207 obj = cls.for_file(source, modname) 208 except PycodeError as err: 209 cls.cache['module', modname] = err 250 self.tokens = list(tokenize.generate_tokens(self.source.readline)) 251 except tokenize.TokenError as err: 252 raise PycodeError('tokenizing failed', err)KhorosToMatLab.old git://github.com/aludnam/MATLAB.git | Perl | 452 lines
278 print "elseif nargin ==2\n Inputs=varargin{1}; arglist=varargin{2};\n"; 279 print "else error('Usage: [out1,..] = k$fname(Inputs,arglist).');\nend\n"; 280 } 285 print "elseif nargin ==1\n arglist=varargin{1};\n"; 286 print "else error('Usage: [out1,..] = k$fname(arglist).');\nend\n"; 287 } 287 } 288print "if size(arglist,2)~=2\n error('arglist must be of form {''ParameterTag1'',value1;''ParameterTag2'',value2}')\n end\n"; 289 342 if (nextinput > length(Inputs)) 343 error(['Input ' narglist{jj,1} ' has no corresponding input!']); 344 end 348 if (nextoutput > nargout) 349 error(['Output nr. ' narglist{jj,1} ' is not present in the assignment list of outputs !']); 350 endnsISHistory.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 313 lines
94 * the index is obtained successfully. 95 * <code>NS_ERROR_FAILURE</code> Error in obtaining 96 * history entry for the given index. 112 * @throws <code>NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA</code> Purge was vetod. 113 * @throws <code>NS_ERROR_FAILURE</code> numEntries is 114 * invalid or out of bounds with the size of history. 206#define NS_FORWARD_SAFE_NSISHISTORY(_to) \ 207 NS_SCRIPTABLE NS_IMETHOD GetCount(PRInt32 *aCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \ 208 NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \ 208 NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \ 209 NS_SCRIPTABLE NS_IMETHOD GetRequestedIndex(PRInt32 *aRequestedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestedIndex(aRequestedIndex); } \ 210 NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \ 210 NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \ 211 NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxLength(aMaxLength); } \ 212 NS_SCRIPTABLE NS_IMETHOD GetEntryAtIndex(PRInt32 index, PRBool modifyIndex, nsIHistoryEntry **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntryAtIndex(index, modifyIndex, _retval); } \nsIDOMHTMLAppletElement.h http://firefox-mac-pdf.googlecode.com/svn/trunk/ | C Header | 309 lines
138#define NS_FORWARD_SAFE_NSIDOMHTMLAPPLETELEMENT(_to) \ 139 NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \ 140 NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ 140 NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ 141 NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlt(aAlt); } \ 142 NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \ 142 NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \ 143 NS_SCRIPTABLE NS_IMETHOD GetArchive(nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchive(aArchive); } \ 144 NS_SCRIPTABLE NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchive(aArchive); } \ 144 NS_SCRIPTABLE NS_IMETHOD SetArchive(const nsAString & aArchive) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchive(aArchive); } \ 145 NS_SCRIPTABLE NS_IMETHOD GetCode(nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCode(aCode); } \ 146 NS_SCRIPTABLE NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCode(aCode); } \ 146 NS_SCRIPTABLE NS_IMETHOD SetCode(const nsAString & aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCode(aCode); } \ 147 NS_SCRIPTABLE NS_IMETHOD GetCodeBase(nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCodeBase(aCodeBase); } \ 148 NS_SCRIPTABLE NS_IMETHOD SetCodeBase(const nsAString & aCodeBase) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCodeBase(aCodeBase); } \PtpObject.java http://jpcsp.googlecode.com/svn/trunk/ | Java | 430 lines
84 protected int getExceptionResult(IOException e) { 85 return SceKernelErrors.ERROR_NET_ADHOC_TIMEOUT; 86 } 100 protected int getExceptionResult(IOException e) { 101 return SceKernelErrors.ERROR_NET_ADHOC_CONNECTION_REFUSED; 102 } 121 protected int getExceptionResult(IOException e) { 122 return SceKernelErrors.ERROR_NET_ADHOC_TIMEOUT; 123 } 204 } 205 result = SceKernelErrors.ERROR_NET_ADHOC_PORT_IN_USE; 206 } catch (SocketException e) { 246 // Accept cannot be completed in non-blocking mode 247 result = SceKernelErrors.ERROR_NET_ADHOC_NO_DATA_AVAILABLE; 248 } else {_image_selector_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 130 lines
43<a name="l00013"></a>00013 $this->m_cssClass = isset($xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSCLASS"</span>]) ? $xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSCLASS"</span>] : <span class="stringliteral">'image_selector'</span>; 44<a name="l00014"></a>00014 $this->m_cssErrorClass = isset($xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSERRORCLASS"</span>]) ? $xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSERRORCLASS"</span>] : $this->m_cssClass . <span class="stringliteral">"_error"</span>; 45<a name="l00015"></a>00015 $this->m_cssFocusClass = isset($xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSFOCUSCLASS"</span>]) ? $xmlArr[<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"CSSFOCUSCLASS"</span>] : $this->m_cssClass . <span class="stringliteral">"_focus"</span>; 58<a name="l00028"></a>00028 $formobj = $this->GetFormObj(); 59<a name="l00029"></a>00029 <span class="keywordflow">if</span>($formobj->m_Errors[$this->m_Name]){ 60<a name="l00030"></a>00030 $func .= <span class="stringliteral">"onclick=\"this.className='$this->m_cssClass'\""</span>;stm32f0xx_syscfg.h https://gitlab.com/sonium/librepilot | C Header | 262 lines
205#define SYSCFG_Break_PVD SYSCFG_CFGR2_PVD_LOCK /*!< Connects the PVD event to the Break Input of TIM1, not available for STM32F030 devices */ 206#define SYSCFG_Break_SRAMParity SYSCFG_CFGR2_SRAM_PARITY_LOCK /*!< Connects the SRAM_PARITY error signal to the Break Input of TIM1 */ 207#define SYSCFG_Break_Lockup SYSCFG_CFGR2_LOCKUP_LOCK /*!< Connects Lockup output of CortexM0 to the break input of TIM1 */VarCloner.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 284 lines
266 } else { 267 // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below 268 $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');FileController.cs https://bitbucket.org/jeffmccommas/acex.git | C# | 326 lines
142 { 143 return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message); 144 } 165 { 166 return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message); 167 } 222 { 223 return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message); 224 } 284 _insightsEfRepository.DeleteFile(filePostrequest.Filedetail.Id); 285 return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, CEConfiguration.Error_PostFailed); 286 //response.Message = postresult; 292 { 293 return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, CEConfiguration.Error_PostFailed); 294 }xfs_buf.h https://bitbucket.org/sjohann81/linux-4.13.9.git | C Header | 396 lines
166 unsigned int b_state; /* internal state flags */ 167 int b_io_error; /* internal IO error state */ 168 wait_queue_head_t b_waiters; /* unpin waiters */ 188 unsigned int b_offset; /* page offset in first page */ 189 int b_error; /* error code on I/O */ 190 200 * 201 * last_error is used to ensure that we are getting repeated errors, not 202 * different errors. e.g. a block device might change ENOSPC to EIO when 202 * different errors. e.g. a block device might change ENOSPC to EIO when 203 * a failure timeout occurs, so we want to re-initialise the error 204 * retry behaviour appropriately when that happens. 207 unsigned long b_first_retry_time; /* in jiffies */ 208 int b_last_error; 209odecpp_collision.h https://bitbucket.org/rutad/libs.git | C Header | 429 lines
29 30//#include <ode/error.h> 31weakref.py https://gitlab.com/ZoZworc/install | Python | 443 lines
24 25from exceptions import ReferenceError 26 30__all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs", 31 "WeakKeyDictionary", "ReferenceError", "ReferenceType", "ProxyType", 32 "CallableProxyType", "ProxyTypes", "WeakValueDictionary", 'WeakSet'] 63 d = self.data 64 # We shouldn't encounter any KeyError, because this method should 65 # always be called *before* mutating the dict. 71 if o is None: 72 raise KeyError, key 73 else: 83 o = self.data[key]() 84 except KeyError: 85 return Falsestring.js https://gitlab.com/backflips/test | JavaScript | 473 lines
7 , CastError = SchemaType.CastError 8 , errorMessages = require('../error').messages 9 , utils = require('../utils') 71 * @return {SchemaType} this 72 * @see Customized Error Messages #error_messages_MongooseError-messages 73 * @api public 210 * @return {SchemaType} this 211 * @see Customized Error Messages #error_messages_MongooseError-messages 212 * @api public 263 * @return {SchemaType} this 264 * @see Customized Error Messages #error_messages_MongooseError-messages 265 * @api public 323 * @return {SchemaType} this 324 * @see Customized Error Messages #error_messages_MongooseError-messages 325 * @api publictool_daemon_proc.cpp git://pkgs.fedoraproject.org/condor | C++ | 478 lines
170 if( tmp ) { 171 args_success = DaemonArgs.AppendArgsV1Raw(tmp,&args_error); 172 dprintf( D_FULLDEBUG, "Daemon Args: %s\n", tmp ) ; 179 dprintf(D_ALWAYS, "Aborting. Failed to read daemon args: %s\n", 180 args_error.Value()); 181 return 0; 235 false, 236 "Tool Daemon Error file"); 237 297 int create_process_errno = errno; 298 if(JobPid == FALSE && errno) create_process_error = strerror(errno); 299 363 dprintf(D_ALWAYS, 364 "error suspending process family\n"); 365 }dri_glx.c git://pkgs.fedoraproject.org/mesa-libGLw | C | 473 lines
83 84static void ErrorMessageF(const char *f, ...) 85{ 88 if (getenv("LIBGL_DEBUG")) { 89 fprintf(stderr, "libGL error: "); 90 va_start(args, f); 251 */ 252 ErrorMessageF("%s not defined in %s_dri.so!\n" 253 "Your driver may be too old for this libGL.\n", 266 else { 267 ErrorMessageF("dlopen %s failed (%s)\n", realDriverName, dlerror()); 268 } 271 if (!driver) 272 ErrorMessageF("unable to load driver: %s_dri.so\n", driverName); 273CGIHTTPServer.py https://bitbucket.org/pypy/pypy/ | Python | 378 lines
148 if not (self.have_fork or self.have_popen2 or self.have_popen3): 149 self.send_error(403, "CGI script is not a Python script (%r)" % 150 scriptname) 152 if not self.is_executable(scriptfile): 153 self.send_error(403, "CGI script is not executable (%r)" % 154 scriptname) 247 os.setuid(nobody) 248 except os.error: 249 pass 253 except: 254 self.server.handle_error(self.request, self.client_address) 255 os._exit(127) 272 nbytes = int(length) 273 except (TypeError, ValueError): 274 nbytes = 0QuadTreeNode.cpp git://github.com/swganh/mmoserver.git | C++ | 433 lines
191 { 192 assert(false && "QuadTreeNode::getObjectsInRange ERROR INVALID ID"); 193 } 328 } 329 DLOG(INFO) << "QuadTreeNode::removeObject ERROR FAILED to REMOVE object with id = " << object->getId(); 330 return(2); 407 { 408 gLogger->log(LogManager::DEBUG,"QuadTreeNode::addMyObject: ERROR INSERTED OBJECT already exist = %"PRIu64"", object->getId()); 409 return(2);GameSwingDoor.cpp git://github.com/FrictionalGames/PenumbraOverture.git | C++ | 474 lines
85 { 86 Error("Couldn't find game element for entity '%s'\n",mpEntity->GetName().c_str()); 87 }keys.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 469 lines
120 attrs['_type'] ? attrs['_type'].constantize : self 121 rescue NameError 122 selfBshScriptEngine.java http://beanshell2.googlecode.com/svn/trunk/ | Java | 381 lines
92 // explicit parsing error 93 throw new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 94 } catch (TargetError e) { 96 // set it as the cause ? 97 ScriptException se = new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 98 se.initCause(e.getTarget()); 198 private ScriptException constructScriptException(final EvalError e) { 199 return new ScriptException(e.getMessage(), e.getErrorSourceFile(), e.getErrorLineNumber()); 200 } 270 // set it as the cause ? 271 ScriptException se = new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 272 se.initCause(e.getTarget()); 275 // The script couldn't be evaluated properly 276 throw new ScriptException(e.toString(), e.getErrorSourceFile(), e.getErrorLineNumber()); 277 } catch (InterpreterError e) {bodycontent-inc.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 444 lines
2/*Modification History: 32008.04.25: Change constants to strings to remove PHP errors in log lines 99+ line 461?? 4*/context.ipp http://hadesmem.googlecode.com/svn/trunk/ | C++ Header | 0 lines
203 { 204 ec = boost::system::error_code(::ERR_get_error(), 205 boost::asio::error::get_ssl_category()); 305 { 306 ec = boost::system::error_code(::ERR_get_error(), 307 boost::asio::error::get_ssl_category()); 344 { 345 ec = boost::system::error_code(::ERR_get_error(), 346 boost::asio::error::get_ssl_category()); 384 { 385 ec = boost::system::error_code(::ERR_get_error(), 386 boost::asio::error::get_ssl_category()); 423 { 424 ec = boost::system::error_code(::ERR_get_error(), 425 boost::asio::error::get_ssl_category());headers.html http://hadesmem.googlecode.com/svn/trunk/ | HTML | 0 lines
56 57div.admonition, div.attention, div.caution, div.danger, div.error, 58div.hint, div.important, div.note, div.tip, div.warning { 69div.attention p.admonition-title, div.caution p.admonition-title, 70div.danger p.admonition-title, div.error p.admonition-title, 71div.warning p.admonition-title {FigCompositeState.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 442 lines
24// does not warrant that the operation of the program will be 25// uninterrupted or error-free. The end-user understands that the program 26// was developed for research purposes and is advised not to relyquic_simple_client.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 406 lines
117 if (rc != OK) { 118 LOG(ERROR) << "Connect failed: " << ErrorToShortString(rc); 119 return false; 123 if (rc != OK) { 124 LOG(ERROR) << "SetReceiveBufferSize() failed: " << ErrorToShortString(rc); 125 return false; 129 if (rc != OK) { 130 LOG(ERROR) << "SetSendBufferSize() failed: " << ErrorToShortString(rc); 131 return false; 135 if (rc != OK) { 136 LOG(ERROR) << "GetLocalAddress failed: " << ErrorToShortString(rc); 137 return false; 389 const DatagramClientSocket* socket) { 390 LOG(ERROR) << "QuicSimpleClient read failed: " << ErrorToShortString(result); 391 Disconnect();Character.cpp https://gitlab.com/0072016/Facebook-SDK- | C++ | 369 lines
83 // Create a Trie from the value array. 84 UErrorCode error = U_ZERO_ERROR; 85 UTrie2* trie = utrie2_openFromSerialized( 88 nullptr, &error); 89 ASSERT(error == U_ZERO_ERROR); 90 return trie; 363{ 364 UErrorCode status = U_ZERO_ERROR; 365 UScriptCode script = uscript_getScript(character, &status);win_utils.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 428 lines
188 if (INVALID_FILE_ATTRIBUTES == attributes) { 189 DWORD error = ::GetLastError(); 190 if (error != ERROR_FILE_NOT_FOUND && 191 error != ERROR_PATH_NOT_FOUND && 192 error != ERROR_INVALID_NAME) { 193 // Unexpected error. 198 NOTREACHED_NT(); 199 return error; 200 } 307 308 DWORD last_error = ::GetLastError(); 309 if (0 == return_value && (ERROR_FILE_NOT_FOUND == last_error || 310 ERROR_PATH_NOT_FOUND == last_error || 311 ERROR_INVALID_NAME == last_error)) { 312 // The file does not exist, but maybe a sub path needs to be expanded.ScriptRunIterator.cpp https://gitlab.com/0072016/Facebook-SDK- | C++ | 378 lines
24 25 UErrorCode status = U_ZERO_ERROR; 26 // Leave room to insert primary script. It's not strictly necessary but 35 ch, &dst[0], dst.size(), &status); 36 if (status == U_BUFFER_OVERFLOW_ERROR) { 37 // Allow this, we'll just use what we have. 37 // Allow this, we'll just use what we have. 38 DLOG(ERROR) << "Exceeded maximum script count of " << kMaxScriptCount << " for 0x" << std::hex << ch; 39 count = dst.size(); 39 count = dst.size(); 40 status = U_ZERO_ERROR; 41 } 44 if (U_FAILURE(status)) { 45 DLOG(ERROR) << "Could not get icu script data: " << status << " for 0x" << std::hex << ch; 46 dst.clear();Level0.cpp http://wowtbc.googlecode.com/svn/trunk/ | C++ | 497 lines
242 { 243 RedSystemMessage(m_session, "Internal error: Could not find create info."); 244 return false;test-readline-interface.js https://gitlab.com/CORP-RESELLER/node | JavaScript | 439 lines
248 }, function(err) { 249 if (err instanceof TypeError) { 250 if (/Argument "completer" must be a function/.test(err)) { 281 if (key === 'X') { 282 throw new Error('bad thing happened'); 283 }precision.cpp https://gitlab.com/CORP-RESELLER/node | C++ | 442 lines
47FixedPrecision::round( 48 DigitList &value, int32_t exponent, UErrorCode &status) const { 49 if (U_FAILURE(status)) { 73 if (fExactOnly && (value.fContext.status & DEC_Inexact)) { 74 status = U_FORMAT_INEXACT_ERROR; 75 } else if (fFailIfOverMax) { 79 if (fMax.getIntDigitCount() < interval.getIntDigitCount()) { 80 status = U_ILLEGAL_ARGUMENT_ERROR; 81 } 152 VisibleDigits &digits, 153 UErrorCode &status) const { 154 if (U_FAILURE(status)) { 175 VisibleDigits &digits, 176 UErrorCode &status) const { 177 if (U_FAILURE(status)) {lte-ie7.js https://gitlab.com/alexandre_cottin/ruralis | JavaScript | 387 lines
88 'icon_info_alt' : 'p', 89 'icon_error-oct_alt' : 'q', 90 'icon_error-circle_alt' : 'r', 90 'icon_error-circle_alt' : 'r', 91 'icon_error-triangle_alt' : 's', 92 'icon_question_alt2' : 't', 199 'icon_info' : '', 200 'icon_error-circle' : '', 201 'icon_error-oct' : '', 201 'icon_error-oct' : '', 202 'icon_error-triangle' : '', 203 'icon_question_alt' : '',kubernetes_spec.rb https://gitlab.com/markglenfletcher/gitlab-ee | Ruby | 392 lines
8 9 shared_examples 'resource not found error' do |message| 10 it 'raises error' do 13 expect(result[:error]).to eq(message) 14 expect(result[:status]).to eq(:error) 15 end 17 18 shared_examples 'kubernetes API error' do |error_code| 19 it 'raises error' do 21 22 expect(result[:error]).to eq("Kubernetes API returned status code: #{error_code}") 23 expect(result[:status]).to eq(:error) 380 381 it { expect { subject }.to raise_error(::Kubeclient::HttpError) } 382 endissue_comment_form.vue https://gitlab.com/mehlah/gitlab-ce | Vue | 377 lines
140 141 if (res.errors) { 142 if (res.errors.commands_only) { 249 <div class="timeline-entry-inner"> 250 <div class="flash-container error-alert timeline-content"></div> 251 <div class="timeline-icon hidden-xs hidden-sm"> 265 266 <div class="error-alert"></div> 267api.py git://github.com/RuudBurger/CouchPotatoServer.git | Python | 385 lines
34 script as script_) # command name conflict 35from migrate.versioning.util import catch_known_errors, with_engine 36 73 if cmd is None: 74 raise exceptions.UsageError(None) 75 try: 77 except: 78 raise exceptions.UsageError( 79 "'%s' isn't a valid command. Try 'help COMMAND'" % cmd) 84 85@catch_known_errors 86def create(repository, name, **opts): 97 98@catch_known_errors 99def script(description, repository, **opts):nls.d git://github.com/simendsjo/dwin.git | D | 514 lines
34import dwin.core; 35import dwin.error; 36cmpaux.c git://pkgs.fedoraproject.org/gcl | C | 580 lines
86 sSPmemory->s.s_dbind->cfd.cfd_self[fix(index)]=val; 87 else FEerror("setvv called outside %init",0); 88 RETURN1(index); 110/* if (y == 0) { */ 111/* FEerror("Zero divizor", 0); */ 112/* return 0; */ 179 default: 180 FEerror("~S cannot be coerce to a C char.", 1, x); 181 } 204 default: 205 FEerror("~S cannot be coerce to a C int.", 1, x); 206 } 559 if (fread(tmp,1,ss.st_size,f)!=ss.st_size) 560 FEerror("Error reading binary file",0); 561 fclose(f);SimpleCharStream.java git://pkgs.fedoraproject.org/xsom | Java | 480 lines
116 { 117 throw new Error(t.getMessage()); 118 }task_smpl_user.c git://pkgs.fedoraproject.org/papi | C | 535 lines
194 if (pfm_read(fd, 0, PFM_RW_PMD_ATTR, pd, num_pmds * sizeof(*pd))) 195 fatal_error("pfm_read(PMD) error errno %d\n",errno); 196 366 } 367 fatal_error("cannot create session %s\n", strerror(errno)); 368 } 373 if (pfm_write(fd, 0, PFM_RW_PMC, pc, outp.pfp_pmc_count * sizeof(*pc))) 374 fatal_error("pfm_write error errno %d\n",errno); 375 /* 422 if (pfm_attach(fd, 0, options.opt_sys ? 0 : pid)) 423 fatal_error("pfm_attach error errno %d\n",errno); 424 429 if (pfm_set_state(fd, 0, PFM_ST_START)) 430 fatal_error("pfm_set_state(start) error errno %d\n",errno); 431create.blade.php https://gitlab.com/yamenpun/dlsorch | PHP | 360 lines
75 <ul> 76 @foreach ($errors->all() as $error) 77 <li>{{ $error }}</li> 137 138 {!! AppHelper::getValidationErrorMsg($errors, 'fullname_np') !!} 139 162 163 {!! AppHelper::getValidationErrorMsg($errors, 'fullname_en') !!} 164 193 194 {!! AppHelper::getValidationErrorMsg($errors, 'username') !!} 195 214 215 {!! AppHelper::getValidationErrorMsg($errors, 'email') !!} 216vc71.mak https://gitlab.com/cdeclare/intcrypt | Makefile | 260 lines
38!IF "$(MSVCDIR)" == "" 39!ERROR Variable MSVCDIR not set. 40!ENDIFgrid.locale-id.js https://gitlab.com/Mirros/cdnjs | JavaScript | 170 lines
83 }, 84 errors : { 85 errcap : "Error",test.js https://github.com/trentm/molybdenum.git | JavaScript | 421 lines
25 } 26 }, function (error, response, body) { 27 test.equal(response.statusCode, 200); 40 } 41 }, function (error, response, body) { 42 test.equal(response.statusCode, 200); 54 } 55 }, function (error, response, body) { 56 test.equal(response.statusCode, 200); 71 } 72 }, function (error, response, body) { 73 test.equal(response.statusCode, 200); 91 } 92 }, function (error, response, body) { 93 test.equal(response.statusCode, 200);BindingAnnotationFieldTypePattern.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 176 lines
59 if (!annoType.isAnnotation()) { 60 IMessage m = MessageUtil.error(WeaverMessages.format(WeaverMessages.REFERENCE_TO_NON_ANNOTATION_TYPE, annoType 61 .getName()), getSourceLocation());ConstantPoolEntry.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 221 lines
158 default: 159 throw new ClassFormatError("Invalid Constant Pool entry Type " 160 + cpTag);console-via-logger.js https://gitlab.com/blocknotary/IonicInterviews | JavaScript | 189 lines
59 if (logger.useConsole()) { 60 throw new Error("console and logger are too intertwingly"); 61 } 73//------------------------------------------------------------------------------ 74console.error = function() { 75 if (logger.useConsole()) return; 75 if (logger.useConsole()) return; 76 logger.error.apply(logger, [].slice.call(arguments)); 77};NetworkAdminUDPTester.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 271 lines
171 172 Throwable last_error = null; 173 222 223 last_error = e; 224 228 229 if ( last_error != null ){ 230 230 231 throw( last_error ); 232 }ztypes_darwin_arm.go https://gitlab.com/cowboygneox/gitlab-ci-multi-runner | Go | 449 lines
321 Ipackets uint32 322 Ierrors uint32 323 Opackets uint32 323 Opackets uint32 324 Oerrors uint32 325 Collisions uint32hashmap.js https://gitlab.com/stefan.pataky/squid.js | JavaScript | 307 lines
149 * @param {Vector} vec Vector. 150 * @param {function} _cb callback(error,result);. 151 */ 162 * @param {float} n checking range. 163 * @param {function} _cb callback(error,result). 164 */ 176 177 //Eyes open for float errors here.. 178 for (var x = nwx; x <= sex; x = x + cs) {fallback.js https://gitlab.com/Mirros/cdnjs | JavaScript | 524 lines
475 476 element.onerror = function() { 477 return me.spawn.failed(payload);UrlImageGetter.java https://gitlab.com/adamlwalker/android-discourse | Java | 286 lines
29 30import com.android.volley.VolleyError; 31import com.android.volley.toolbox.ImageLoader.ImageContainer; 115 @Override 116 public void onErrorResponse(VolleyError error) { 117 // TODO 显示错误图片?MMatchServer_Admin.cpp https://gitlab.com/Ephemeral/Source | C++ | 518 lines
3#include "MSharedCommandTable.h" 4#include "MErrorTable.h" 5#include "MBlobArray.h"AdminSanPham.js https://gitlab.com/vantb9x/vbv-doancuoiky | JavaScript | 552 lines
9}).catch(function (error) { 10 console.error('Anonymous Sign In Error', error); 11}); 96 97 uploadTask1.on('state_changed', null, function(error) 98 { 98 { 99 console.error("upload failed 1", error); 100 }, function() 105 { 106 console.error("upload failed 2", error); 107 }, function() 112 { 113 console.error("upload failed 3", error); 114 }, function()eventproxy.js https://gitlab.com/Mirros/cdnjs | JavaScript | 513 lines
261 /** 262 * Assign the only one 'error' event handler. 263 * @param {Function(err)} callback 266 var that = this; 267 that.once('error', function (err) { 268 that.unbind(); 366 if (err) { 367 return that.emit('error', err); 368 } 428 * if (err) { 429 * return ep.emit('error', err); 430 * } 443 * if (err) { 444 * return ep.emit('error', err); 445 * }class-wc-admin-webhooks.php https://gitlab.com/webkod3r/tripolis | PHP | 514 lines
164 165 if ( is_wp_error( $result ) ) { 166 // Redirect to webhook edit page to avoid settings save actions 166 // Redirect to webhook edit page to avoid settings save actions 167 wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&error=' . urlencode( $result->get_error_message() ) ) ); 168 exit(); 198 199 if ( is_wp_error( $webhook_id ) ) { 200 wp_die( $webhook_id->get_error_messages() ); 394 if ( isset( $_GET['error'] ) ) { 395 WC_Admin_Settings::add_error( wc_clean( $_GET['error'] ) ); 396 }rpcrt4.def https://gitlab.com/ubuntu-trusty/mingw-w64 | Module-Definition | 568 lines
29CreateStubFromTypeInfo@16 30DceErrorInqTextA@8 31DceErrorInqTextW@8 297NdrPointerUnmarshall@16 298NdrProxyErrorHandler@4 299NdrProxyFreeBuffer@8 413RpcEpUnregister@12 414RpcErrorAddRecord@4 415RpcErrorClearInformation@0 418RpcErrorGetNumberOfRecords@8 419RpcErrorLoadErrorInfo@12 420RpcErrorResetEnumeration@4 420RpcErrorResetEnumeration@4 421RpcErrorSaveErrorInfo@12 422RpcErrorStartEnumeration@4commit_statuses_spec.rb https://gitlab.com/matt.wilkinson/gitlab-ce | Ruby | 210 lines
173 174 it 'returns not found error' do 175 expect(response.status).to eq(404)hidescriptorparser.h https://gitlab.com/joseangeljimenez/USB_Host_Shield_2.0 | C Header | 176 lines
138 enum { 139 enErrorSuccess = 0 140 , enErrorIncomplete // value or record is partialy read in buffer 140 , enErrorIncomplete // value or record is partialy read in buffer 141 , enErrorBufferTooSmall 142 };class.php https://gitlab.com/alexprowars/bitrix | PHP | 309 lines
27{ 28 /** @var ErrorCollection $errors */ 29 protected $errors; 277 { 278 foreach ($this->errors as $error) 279 { 279 { 280 ShowError($error); 281 } 285 { 286 $this->errors = new \Bitrix\Main\ErrorCollection(); 287 if (!Bitrix\Main\Loader::includeModule('sender')) 288 { 289 $this->errors->setError(new Error('Module `sender` is not installed.')); 290 $this->printErrors();BrokerFilter.java https://github.com/apache/activemq.git | Java | 411 lines
132 @Override 133 public void removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) throws Exception { 134 getNext().removeConnection(context, info, error);CreateProjectsFromMetadataAction.java https://github.com/apache/continuum.git | Java | 359 lines
166 getLogger().info( "Malformed URL (MungedHttpsURL is not valid): " + hidePasswordInUrl( curl ) ); 167 result.addError( ContinuumProjectBuildingResult.ERROR_MALFORMED_URL ); 168 } 194 result = new ContinuumProjectBuildingResult(); 195 result.addError( ContinuumProjectBuildingResult.ERROR_MALFORMED_URL ); 196 } 200 result = new ContinuumProjectBuildingResult(); 201 result.addError( ContinuumProjectBuildingResult.ERROR_MALFORMED_URL ); 202 } 231 { 232 throw new SettingsConfigurationException( "Error reading settings file", e ); 233 }XalanDeque.hpp https://github.com/apache/xalan-c.git | C++ Header | 543 lines
475 // Allocate space first, so we don't have to worry 476 // about an out-of-memory error once we've constructed 477 // the new block.merge_requests_controller_spec.rb https://gitlab.com/matt.wilkinson/gitlab-ce | Ruby | 414 lines
169 170 it 'closes MR without errors' do 171 post :update,cdc.h https://gitlab.com/jomat/r0ket | C Header | 236 lines
158// (usbcdc11.pdf, 6.3.5, Table 69) 159#define CDC_SERIAL_STATE_OVERRUN (1 << 6) // receive data overrun error has occurred 160#define CDC_SERIAL_STATE_PARITY (1 << 5) // parity error has occurred 160#define CDC_SERIAL_STATE_PARITY (1 << 5) // parity error has occurred 161#define CDC_SERIAL_STATE_FRAMING (1 << 4) // framing error has occurred 162#define CDC_SERIAL_STATE_RING (1 << 3) // state of ring signal detectionFirebird.pm git://github.com/stefansbv/Tpda3.git | Perl | 483 lines
53 LongTruncOk => 1, 54 HandleError => sub { $self->handle_error() }, 55 ib_enable_utf8 => 1, 74 logmsg => $errorstr, 75 usermsg => $self->parse_error($errorstr), 76 ); 81 logmsg => $errorstr, 82 usermsg => $self->parse_error($errorstr), 83 ); 119 network => "error#Network problem", 120 unknown => "error#Database error", 121 notconn => "error#Not connected", 128 else { 129 $log->error('EE: Translation error for: $fb!'); 130 }cache_spec.rb git://github.com/ToshiyukiTerashita/castoro.git | Ruby | 463 lines
53 it "should be raise exception when page = 0" do 54 lambda{ c = Castoro::Cache.new(0) }.should raise_error(ArgumentError) 55 end 56 it "should be raise exception when pages < 0" do 57 lambda{ c = Castoro::Cache.new(-1) }.should raise_error(ArgumentError) 58 endcustomer_spec.rb git://github.com/hashrocket/mousetrap.git | Ruby | 396 lines
42 Mousetrap::Customer.stub :get_resources => { 43 'error' => 'Resource not found: No customers found.' 44 } 49 expect do 50 Mousetrap::Customer.stub :get_resources => { 'error' => "some other error" } 51 Mousetrap::Customer.all 51 Mousetrap::Customer.all 52 end.to raise_error(RuntimeError, "some other error") 53 end 272 it "raises error if CheddarGetter reports one" do 273 @customer.class.stub :post_resource => {'error' => 'some error message'} 274 expect { @customer.send(:create) }.to raise_error('some error message') 315 it "raises error if CheddarGetter reports one" do 316 customer.class.stub :put_resource => {'error' => 'some error message'} 317 expect { customer.send(:update) }.to raise_error('some error message')double_definition.rb git://github.com/btakita/rr.git | Ruby | 367 lines
175 raise( 176 Errors::DoubleDefinitionError, 177 "Double Definitions must have a dedicated Double to be ordered. " << 213 def after_call(&after_call_proc) 214 raise ArgumentError, "after_call expects a block" unless after_call_proc 215 @after_call_proc = after_call_proc 301 def exact_match?(*arguments) 302 raise(Errors::DoubleDefinitionError, "#argument_expectation must be defined on #{inspect}") unless @argument_expectation 303 @argument_expectation.exact_match?(*arguments) 306 def wildcard_match?(*arguments) 307 raise(Errors::DoubleDefinitionError, "#argument_expectation must be defined on #{inspect}") unless @argument_expectation 308 @argument_expectation.wildcard_match?(*arguments) 311 def terminal? 312 raise(Errors::DoubleDefinitionError, "#argument_expectation must be defined on #{inspect}") unless @times_matcher 313 @times_matcher.terminal?Updater.cs https://hg01.codeplex.com/procon2 | C# | 0 lines
124 /// 125 /// This is so the update can forego checks and error logging later. 126 /// </summary> 176 catch (Exception e) { 177 this.Writer.WriteLine("\tERROR: {0}", e.Message); 178 } 209 catch (Exception e) { 210 this.Writer.WriteLine("\tERROR: {0}", e.Message); 211 } 256 /// <summary> 257 /// Creates a directory, logging the progress and errors (if any) 258 /// </summary> 267 catch (Exception e) { 268 this.Writer.WriteLine("\tERROR: {0}", e.Message); 269 }DeclPDA.cpp git://github.com/TTimo/doom3.gpl.git | C++ | 668 lines
147 148 if ( src.HadError() ) { 149 src.Warning( "PDA decl '%s' had a parse error", GetName() ); 359 src.LoadMemory( _text, textLength, GetFileName(), GetLineNum() ); 360 src.SetFlags( LEXFL_NOSTRINGCONCAT | LEXFL_ALLOWPATHNAMES | LEXFL_ALLOWMULTICHARLITERALS | LEXFL_ALLOWBACKSLASHSTRINGCONCAT | LEXFL_NOFATALERRORS ); 361 src.SkipUntilString( "{" ); 401 if ( token != "{" ) { 402 src.Warning( "Email decl '%s' had a parse error", GetName() ); 403 return false; 417 418 if ( src.HadError() ) { 419 src.Warning( "Email decl '%s' had a parse error", GetName() ); 485 src.LoadMemory( text, textLength, GetFileName(), GetLineNum() ); 486 src.SetFlags( LEXFL_NOSTRINGCONCAT | LEXFL_ALLOWPATHNAMES | LEXFL_ALLOWMULTICHARLITERALS | LEXFL_ALLOWBACKSLASHSTRINGCONCAT | LEXFL_NOFATALERRORS ); 487 src.SkipUntilString( "{" );README.md https://gitlab.com/alpox/anaplot | Markdown | 185 lines
31 ``` 32 >**Note:** Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing `npm install -g unzip` and then re-running `jspm install`. 336. To run the app, execute the following command: 86 ``` 87 >**Note:** Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing `npm install -g unzip` and then re-running `jspm install`. 88AbstractSplitYamlParsingProcessor.java https://gitlab.com/meetly/torquebox | Java | 194 lines
109 } catch (Exception e) { 110 throw new DeploymentUnitProcessingException( "Error processing yaml: ", e ); 111 } 116 // is rootless, 117 // but rootlessness is not supported, then error out. 118 RubyAppMetaData rubyMetaData = unit.getAttachment( RubyAppMetaData.ATTACHMENT_KEY ); 120 throw new DeploymentUnitProcessingException( String.format( 121 "Error processing deployment %s: The section %s requires an app root to be specified, but none has been provided.", 122 unit.getName(), getSectionName() ) );SharedPool.java https://gitlab.com/meetly/torquebox | Java | 256 lines
166 * @throws Exception 167 * if an error occurs starting the pool. 168 */HandlerBase.java git://pkgs.fedoraproject.org/xpp2 | Java | 371 lines
298 //////////////////////////////////////////////////////////////////// 299 // Default implementation of the ErrorHandler interface. 300 //////////////////////////////////////////////////////////////////// 313 * wrapping another exception. 314 * @see org.xml.sax.ErrorHandler#warning 315 * @see org.xml.sax.SAXParseException 328 * may override this method in a subclass to take specific actions 329 * for each error, such as inserting the message in a log file or 330 * printing it to the console.</p> 337 */ 338 public void error (SAXParseException e) 339 throws SAXException 358 * wrapping another exception. 359 * @see org.xml.sax.ErrorHandler#fatalError 360 * @see org.xml.sax.SAXParseExceptioneric4.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.html git://pkgs.fedoraproject.org/eric | HTML | 378 lines
79<td><a href="#SvnRepoBrowserDialog.__readStderr">__readStderr</a></td> 80<td>Private slot to handle the readyReadStandardError signal.</td> 81</tr><tr> 237<p> 238 Private slot to handle the readyReadStandardError signal. 239</p><p> 239</p><p> 240 It reads the error output of the process and inserts it into the 241 error pane.