PageRenderTime 12ms queryFilters 2ms Sphinxql 290ms app.CodeModel.GetByIds 1214ms findMatchingLines 89ms GetByIds 1303ms meta 0ms repositoryFilters 2ms languageFilters 2ms sourceFilters 2ms

5,833,776 results for 'ERROR repo:ToadJamb/hg' (12 ms)

Source

Language

Repository

error.php https://github.com/glovenone/moodle.git | PHP | 524 lines
194$string['ddlunknownerror'] = 'Unknown DDL library error';
195$string['ddlxmlfileerror'] = 'XML database file errors found';
196$string['destinationcmnotexit'] = 'The destination course module does not exist';
216$string['erroronline'] = 'Error on line {$a}';
217$string['errorparsingxml'] = 'Error parsing XML: {$a->errorstring} at line {$a->errorline}, char {$a->errorchar}';
218$string['errorreadingfile'] = 'Error reading file "{$a}"';
461$string['unknowformat'] = 'Format not known ({$a})';
462$string['unknownbackupexporterror'] = 'Unknown error preparing information for import';
463$string['unknownblockregion'] = 'The block region \'{$a}\' is not recognised on this page.';
493$string['usermustbemnet'] = 'Users in the MNET access control list must be remote MNET users';
494$string['usernotaddederror'] = 'User not added - error';
495$string['usernotaddedregistered'] = 'User not added - already registered';
497$string['usernotdeletedadmin'] = 'User not deleted - can not delete administrator accounts';
498$string['usernotdeletederror'] = 'User not deleted - error';
499$string['usernotdeletedmissing'] = 'User not deleted - could not find the username';
error-handler.js https://github.com/cspotcode/npm.git | JavaScript | 242 lines
1
2module.exports = errorHandler
3
14process.on("exit", function (code) {
15  // console.error("exit", code)
16  if (!ini.resolved) return
20    if (!cbCalled) {
21      log.error("cb() never called!\n ")
22    }
22    }
23    log.error([""
24              ,"Additional logging details can be found in:"
32function errorHandler (er) {
33  // console.error("errorHandler", er)
34  if (!ini.resolved) {
error-model.h https://bitbucket.org/cttc-lena/ns-3-lena-dev | C++ Header | 465 lines
75 * \ingroup network
76 * \defgroup errormodel Error Model
77 */
111 *
112 * Four practical error models, a RateErrorModel, a BurstErrorModel, 
113 * a ListErrorModel, and a ReceiveListErrorModel, are currently implemented. 
181 */
182class RateErrorModel : public ErrorModel
183{
368 * cause subsequent packet uids to change.  For instance, suppose one wants 
369 * to error packets 11 and 17 on a given device.  It may be that erroring
370 * packet 11 will cause the subsequent uid stream to change and 17 may no
378 */
379class ListErrorModel : public ErrorModel
380{
error-handler.js https://github.com/jmoyers/npm.git | JavaScript | 212 lines
1
2module.exports = errorHandler
3
14process.on("exit", function (code) {
15  // console.error("exit", code)
16  if (!ini.resolved) return
20    if (!cbCalled) {
21      log.error("cb() never called!\n ")
22    }
22    }
23    log.error([""
24              ,"Additional logging details can be found in:"
32function errorHandler (er) {
33  // console.error("errorHandler", er)
34  if (!ini.resolved) {
Error.cs https://bitbucket.org/ipre/calico.git | C# | 593 lines
39// Legacy Error
40// <error code="501">Not Implemented</error>
41
48{
49	// XMPP error condition  		XMPP error type  	Legacy error code
50	// <bad-request/> 				modify 				400
112        /// The server could not process the stanza because of a misconfiguration or an otherwise-undefined 
113        /// internal server error; the associated error type SHOULD be "wait" or "cancel".
114        /// </summary>
376
377        public Error(ErrorType type, ErrorCondition condition) : this(type)
378        {
452				else if (HasTag("internal-server-error"))	// <internal-server-error/>
453					return ErrorCondition.InternalServerError;
454				else if (HasTag("item-not-found"))			// <item-not-found/> 
error-handler.js https://bitbucket.org/KamranMackey/node.git | JavaScript | 282 lines
1
2module.exports = errorHandler
3
16process.on("exit", function (code) {
17  // console.error("exit", code)
18  if (!ini.resolved) return
22    if (!cbCalled) {
23      log.error("cb() never called!\n ")
24    }
25    if (wroteLogFile) {
26      log.error([""
27                ,"Additional logging details can be found in:"
68function errorHandler (er) {
69  // console.error("errorHandler", er)
70  if (!ini.resolved) {
error.go https://github.com/feyeleanor/slices.git | Go | 602 lines
7
8type ESlice		[]error
9
10func (s ESlice) release_references(i, n int) {
11	var zero error
12	for ; n > 0; n-- {
20func (s ESlice) At(i int) interface{}		{ return s[i] }
21func (s ESlice) Set(i int, v interface{})	{ s[i] = v.(error) }
22func (s ESlice) Clear(i int)				{ s[i] = nil }
74	switch f := f.(type) {
75	case error:						for i, v := range a {
76										if i != p {
83
84	case func(error) bool:			for i, v := range a {
85										if i != p {
error.js https://github.com/julienbarrier/jappix.git | JavaScript | 140 lines
3Jappix - An open social platform
4These are the error functions for Jappix
5
17	if(condition || reason) {
18		// Initialize the error text
19		var eText = '';
48
49// Handles the error from a packet and return true if any error
50function handleError(packet) {
56	
57	// First level error (connection error)
58	if(node.is('error')) {
109	
110	// Second level error (another error)
111	else if(node.find('error').size()) {
error.c https://github.com/lhz/ruby.git | C | 1,992 lines
1213    }
1214    if (!NIL_P(error)) err = strerror(NUM2INT(error));
1215    else err = "unknown error";
1685    rb_eStandardError = rb_define_class("StandardError", rb_eException);
1686    rb_eTypeError     = rb_define_class("TypeError", rb_eStandardError);
1687    rb_eArgError      = rb_define_class("ArgumentError", rb_eStandardError);
1689    rb_eKeyError      = rb_define_class("KeyError", rb_eIndexError);
1690    rb_eRangeError    = rb_define_class("RangeError", rb_eStandardError);
1691
1717    rb_eEncodingError = rb_define_class("EncodingError", rb_eStandardError);
1718    rb_eEncCompatError = rb_define_class_under(rb_cEncoding, "CompatibilityError", rb_eEncodingError);
1719
1720    syserr_tbl = st_init_numtable();
1721    rb_eSystemCallError = rb_define_class("SystemCallError", rb_eStandardError);
1722    rb_define_method(rb_eSystemCallError, "initialize", syserr_initialize, -1);
error.php https://github.com/reechalee/joomla1.6.git | PHP | 646 lines
45		E_WARNING	=> array('mode' => 'message'),
46		E_ERROR	=> array('mode' => 'callback', 'options' => array('JError','customErrorPage'))
47	);
111	 *
112	 * @param	int		$level	The error level - use any of PHP's own error levels for this: E_ERROR, E_WARNING, E_NOTICE, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE.
113	 * @param	string	$code	The application-internal error code for this error
256		if (!is_callable(array ('JError',$function))) {
257			return JError::raiseError(E_ERROR, 'JError:'.JERROR_ILLEGAL_MODE, 'Error Handling mode is not known', 'Mode: '.$mode.' is not implemented.');
258		}
268				if (!is_array($options)) {
269					return JError::raiseError(E_ERROR, 'JError:'.JERROR_ILLEGAL_OPTIONS, 'Options for callback not valid');
270				}
281
282					return JError::raiseError(E_ERROR, 'JError:'.JERROR_CALLBACK_NOT_CALLABLE, 'Function is not callable', 'Function:'.$tmp[1].' scope '.$tmp[0].'.');
283				}
error.cpp https://github.com/dfsilva/mconf-mobile.git | C++ | 268 lines
38    va_start(args, description);
39    error = error_addToQueue(ss.str().c_str(), code, ERROR_LEVEL_NORMAL, description, args);
40    va_end(args);
58    va_start(args, description);
59    error = error_addToQueue(ss.str().c_str(), code, ERROR_LEVEL_WARNING, description, args);
60    va_end(args);
101    }
102    error_queue_push(&errors.items, &error);
103
152
153int error_queue_push(error_queue_t *queue, error_t *error)
154{
181    if (error->level == ERROR_LEVEL_NORMAL) {
182        common_logprintf("[ERRO] %06d: \"%s\" (at: %s)", error->code, error->msg, error->atStr);
183        //common_logprintf("[ERRO] %06d: \"%s\"", error->code, error->msg);
error-handler.js https://github.com/saywow/npm.git | JavaScript | 325 lines
1
2module.exports = errorHandler
3
30    }
31    log.error("not ok", "code", code)
32  }
71  var printStack = false
72  // console.error("errorHandler", er)
73  if (!npm.config.loaded) {
88  } else if (!(er instanceof Error)) {
89    log.error("weird error", er)
90    return exit(1, true)
223    })
224    log.error("peerinvalid", [er.message].concat(peerErrors).join("\n"))
225    break
script-error.md https://github.com/ilife5/javascript-exception-archives.git | Unknown | 130 lines
23    代码,Firebug 可以提示正确的 `"notExistFunction" is undefined`,
24    但是 onerror 异常事件处理函数中得到的错误消息却是 `Script error.`。
251. 用户脚本(userscript) 异常导致。
115|         | onerror | Script error.                               |              | 0    |
116| Chrome  | console | Uncaught Error: test error on b.            | b.com/b.js   | 3    |
117|         | onerror | Script error.                               |              | 0    |
117|         | onerror | Script error.                               |              | 0    |
118| Safari  | console | Error: test error on b.                     |              |      |
119|         | onerror | undefined                                   |              | 0    |
120| Opera   | console | Uncaught exception: Error: test error on b. | a.com/a.html | 4    |
121|         | onerror | Script error.                               |              | 0    |
122
125
126* [Cryptic “Script Error.” reported in Javascript in Chrome and Firefox](http://stackoverflow.com/questions/5913978/cryptic-script-error-reported-in-javascript-in-chrome-and-firefox)
127* [WebKit source that checks origin](http://trac.webkit.org/browser/branches/chromium/648/Source/WebCore/dom/ScriptExecutionContext.cpp?rev=77122#L301)
Error-Codes.html https://github.com/apc-io/apc-rock-toolchain.git | HTML | 1,363 lines
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Error-Reporting.html#Error-Reporting" title="Error Reporting">
9<link rel="prev" href="Checking-for-Errors.html#Checking-for-Errors" title="Checking for Errors">
9<link rel="prev" href="Checking-for-Errors.html#Checking-for-Errors" title="Checking for Errors">
10<link rel="next" href="Error-Messages.html#Error-Messages" title="Error Messages">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
52Next:&nbsp;<a rel="next" accesskey="n" href="Error-Messages.html#Error-Messages">Error Messages</a>,
53Previous:&nbsp;<a rel="previous" accesskey="p" href="Checking-for-Errors.html#Checking-for-Errors">Checking for Errors</a>,
54Up:&nbsp;<a rel="up" accesskey="u" href="Error-Reporting.html#Error-Reporting">Error Reporting</a>
109<blockquote><!-- errno 5 @c DO NOT REMOVE -->
110        <p>Input/output error; usually used for physical read or write errors. 
111</p></blockquote></div>
919        <p>The experienced user will know what is wrong. 
920<!-- This error code is a joke.  Its perror text is part of the joke. -->
921<!-- Don't change it. -->
error.js https://github.com/sanyaade-gamedev/The-M-Project-Sample-Apps.git | JavaScript | 266 lines
17 *
18 * The root object for Error objects
19 *
19 *
20 * M.Error encapsulates errors in The-M-Project.
21 * Should be passed to error callbacks.
22 *
23 * 0-99:    general errors
24 *
24 *
25 * 100-199: Model and Validation errors
26 *
213
214/* following errors are WebSQL Data Provider errors. */
215
error.cc https://github.com/Metaswitch/libmemcached-upstream.git | C++ | 624 lines
118
119  memcached_error_t *error= libmemcached_xmalloc(&memc, memcached_error_t);
120  if (error == NULL) // Bad business if this happens
163  {
164    error->size= (int)snprintf(error->message, MAX_ERROR_LENGTH, "(%lu) %.*s -> %s", 
165                               long(error->root),
194  }
195  ::write(error_log_fd, error->message, error->size);
196  ::write(error_log_fd, "\n", 1);
301{
302  assert_msg(rc != MEMCACHED_SOME_ERRORS, "Programmer error, MEMCACHED_SOME_ERRORS was about to be set on a org::libmemcached::Instance");
303  if (memcached_fatal(rc) == false)
588  memcached_error_t *error= libmemcached_xmalloc(server.root, memcached_error_t);
589  memcpy(error, server.error_messages, sizeof(memcached_error_t));
590  error->next= NULL;
error.py https://github.com/manul7/autotest.git | Python | 520 lines
289
290class BarrierError(JobError):
291    """Indicates an error happened during a barrier operation."""
357
358class AutotestHostRunError(HostRunErrorMixIn, AutotestError):
359    pass
372
373class AutoservRunError(HostRunErrorMixIn, AutoservError):
374    pass
494
495class RepoDiskFullError(PackagingError):
496    'Raised when the destination for packages is full'
498
499class RepoWriteError(PackagingError):
500    "Raised when packager cannot write to a repo's desitnation"
Error.java https://github.com/majst01/libvirt-java.git | Java | 373 lines
7import org.libvirt.jna.NetworkPointer;
8import org.libvirt.jna.virError;
9
103    public static enum ErrorNumber {
104        VIR_ERR_OK, VIR_ERR_INTERNAL_ERROR, /* internal error */
105        VIR_ERR_NO_MEMORY, /* memory allocation failure */
114        VIR_ERR_POST_FAILED, /* a HTTP POST command to failed */
115        VIR_ERR_HTTP_ERROR, /* unexpected HTTP error code */
116        VIR_ERR_SEXPR_SERIAL, /* failure to serialize an S-Expr */
145        VIR_ERR_RPC, /* some sort of RPC error */
146        VIR_ERR_GNUTLS_ERROR, /* error from a GNUTLS call */
147        VIR_WAR_NO_NETWORK, /* failed to start network */
214
215    public Error(virError vError) {
216        code = code.wrap(vError.code);
Error.java https://github.com/hcarver/bluecove.git | Java | 354 lines
67    /**
68     * An unexpected error (other than DeviceUnreachable) error has occurred while
69     * attempting a connection to a device.
80     * 
81     * The error messages is taken from the strerror(errno) function.
82     * 
116    /**
117     * Error returned when a memory allocation via malloc() fails. This error is similar
118     * to ENOMEM.
201     * 
202     * Error returned if a record for a specific procedure doesn't exist. The error
203     * message however should indicate the procedure that fails. For example
213    /**
214     * Error returned if an operation is in progress. Since this is a generic error that
215     * can be used in various situations, the error message should be more clear about
node.d.ts.for.stopping.console.duplicate.error https://github.com/FlatlinerDOA/OpenQ.git | Unknown | 1,067 lines
358
359    export function deflate(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
360    export function deflateRaw(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
360    export function deflateRaw(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
361    export function gzip(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
362    export function gunzip(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
362    export function gunzip(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
363    export function inflate(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
364    export function inflateRaw(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
364    export function inflateRaw(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
365    export function unzip(buf: NodeBuffer, callback: (error: Error, result) =>void ): void;
366
565        killSignal?: string;
566    }, callback: (error: Error, stdout: NodeBuffer, stderr: NodeBuffer) =>void ): ChildProcess;
567    export function exec(command: string, callback: (error: Error, stdout: NodeBuffer, stderr: NodeBuffer) =>void ): ChildProcess;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21