PageRenderTime 16ms queryFilters 2ms Sphinxql 2620ms GetByIds 101ms meta 0ms repositoryFilters 4ms languageFilters 1ms sourceFilters 2ms

14,015,232 results for 'ERROR repo:xixs/public' (16 ms)

Source

Language

Repository

set-error-handler.txt https://github.com/c77cc/vim-devel.git | text | 203 lines
2
3  mixed set_error_handler(callback error_handler [, int error_types])~
4
23The following error types cannot be handled with a user defined function:
24E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR,
25E_COMPILE_WARNING, and most of E_STRICT raised in the file where
77
78Error handling with |set_error_handler| and |trigger_error| The example below
79shows the handling of internal exceptions by triggering errors and handling
136  // set to the user defined error handler
137  $old_error_handler = set_error_handler("myErrorHandler");
138  
198
199ErrorException |error_reporting| |restore_error_handler| |trigger_error| error
200level constants information about the callback type
error-handler.js https://github.com/ryanpoplin/node.git | JavaScript | 344 lines
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)
139    log.error("", "File: "+er.file)
140    log.error("", ["Failed to parse package.json data."
141              ,"package.json must be actual JSON, not just JavaScript."
226    })
227    log.error("peerinvalid", [er.message].concat(peerErrors).join("\n"))
228    break
gpg-error.h https://bitbucket.org/hjwhang/libimobiledevice-win32.git | C++ Header | 704 lines
52
53   An error code together with an error source build up an error
54   value.  As the error value is been passed from one component to
351
352    /* The following error codes are used to map system errors.  */
353#define GPG_ERR_SYSTEM_ERROR	(1 << 15)
619
620/* Retrieve the error code for the system error ERR.  This returns
621   GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report
625
626/* Retrieve the system error for the error code CODE.  This returns 0
627   if CODE is not a system error code.  */
692static GPG_ERR_INLINE gpg_error_t
693gpg_error_from_syserror (void)
694{
Error.js https://bitbucket.org/hcd-parks/arches | JavaScript | 339 lines
20A wrapper class for the native JavaScript Error object that adds a few useful capabilities for handling
21errors in an Ext application. When you use Ext.Error to {@link #raise} an error from within any class that
22uses the Ext 4 class system, the Error class can automatically add the source class and method from which
92 */
93Ext.Error = Ext.extend(Error, {
94    statics: {
249     * @markdown
250     * @return {String} The error message. If raised from within the Ext 4 class system, the error message
251     * will also include the raising class and method names, if available.
300        }
301        if (Ext.Error.notify && (hasOnError ? errors : (counters && counters.error))) {
302            Ext.Error.notify = false;
322    // otherwise (never called) which is good because you cannot feature detect it.
323    prevOnError = win.onerror || Ext.emptyFn;
324    win.onerror = function (message) {
error.log https://github.com/karanmankodi/FileParserMongoDb.git | Unknown | 19,981 lines
9[Sat Oct 15 11:47:04 2011] [notice] Child 1908: Starting thread to listen on port 80.
10[Sat Oct 15 11:49:11 2011] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
11[Sat Oct 15 11:52:12 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
23[Sat Oct 15 11:55:11 2011] [notice] Child 2864: Starting thread to listen on port 80.
24[Sat Oct 15 11:59:10 2011] [error] [client 129.10.135.165] File does not exist: C:/www/favicon.ico
25[Sat Oct 15 12:03:28 2011] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
32[Sat Oct 15 12:03:28 2011] [notice] Child 1216: Starting thread to listen on port 80.
33[Sat Oct 15 12:05:58 2011] [error] [client 129.10.65.240] File does not exist: C:/www/favicon.ico
34[Sat Oct 15 12:07:25 2011] [error] [client 129.10.65.240] File does not exist: C:/www/favicon.ico
50[Sat Oct 15 12:45:17 2011] [notice] Child 1304: Starting thread to listen on port 80.
51[Sat Oct 15 12:57:45 2011] [error] [client 146.115.62.108] File does not exist: C:/www/favicon.ico
52[Sat Oct 15 12:57:45 2011] [error] [client 146.115.62.108] File does not exist: C:/www/favicon.ico
52[Sat Oct 15 12:57:45 2011] [error] [client 146.115.62.108] File does not exist: C:/www/favicon.ico
53[Sat Oct 15 13:02:34 2011] [error] [client 129.10.135.165] File does not exist: C:/www/favicon.ico
54[Sat Oct 15 15:53:08 2011] [error] [client 64.134.67.129] File does not exist: C:/www/favicon.ico
error.test.js https://github.com/markba/bashhistory.io.git | JavaScript | 797 lines
28  it("shouldn't gather errors if it's switched off by config", function () {
29    var error = new Error('this error will never be seen');
30    config.config.error_collector.enabled = false;
43  it("shouldn't gather errors if it's switched off by config", function () {
44    var error = new Error('this error will never be seen');
45    config.config.collect_errors = false;
141      agent.errors.add(null, null);
142      expect(agent.errors.errors.length).equal(0);
143    });
728        process.once('uncaughtException', function () {
729          json = agent.errors.errors[0];
730
738          // trigger the error handler
739          throw new Error('sample error');
740        });
error.js https://github.com/heydenberk/closure-library.git | JavaScript | 182 lines
20goog.provide('goog.fs.Error');
21goog.provide('goog.fs.Error.ErrorCode');
22
132 * @param {string} name
133 * @return {goog.fs.Error.ErrorCode} code
134 * @private
174    goog.fs.Error.ErrorName.SECURITY,
175    goog.fs.Error.ErrorCode.SECURITY,
176
177    goog.fs.Error.ErrorName.SYNTAX,
178    goog.fs.Error.ErrorCode.SYNTAX,
179
179
180    goog.fs.Error.ErrorName.TYPE_MISMATCH,
181    goog.fs.Error.ErrorCode.TYPE_MISMATCH);
error.log https://github.com/orvzjhp/ourParish.git | Unknown | 369 lines
351[Tue Apr 01 17:04:13 2014] [error] [client 192.168.1.109] PHP Fatal error:  require(): Failed opening required 'application/third_party/HMVC/Router.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/pos.com/htdocs/application/core/MY_Router.php on line 5
352[Tue Apr 01 18:19:42 2014] [error] [client 192.168.1.109] PHP Parse error:  syntax error, unexpected T_VARIABLE in /var/www/pos.com/htdocs/application/config/config.php on line 373
353[Tue Apr 01 18:45:00 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function view() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 6
361[Thu Apr 03 22:38:19 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
362[Thu Apr 03 22:38:28 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
363[Thu Apr 03 22:38:37 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
363[Thu Apr 03 22:38:37 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
364[Thu Apr 03 22:39:12 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
365[Thu Apr 03 22:40:38 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
365[Thu Apr 03 22:40:38 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
366[Thu Apr 03 22:40:39 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
367[Thu Apr 03 22:40:40 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
367[Thu Apr 03 22:40:40 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
368[Thu Apr 03 22:40:45 2014] [error] [client 192.168.1.101] PHP Fatal error:  Call to undefined function generateResponse() in /var/www/pos.com/htdocs/application/modules/master_records/controllers/master_records.php on line 23
369
error-handler.js https://github.com/samseen/npm.git | JavaScript | 346 lines
72  var printStack = false
73  // console.error("errorHandler", er)
74  if (!npm.config || !npm.config.loaded) {
89  } else if (!(er instanceof Error)) {
90    log.error("weird error", er)
91    return exit(1, true)
140    log.error("", "File: "+er.file)
141    log.error("", ["Failed to parse package.json data."
142              ,"package.json must be actual JSON, not just JavaScript."
228    })
229    log.error("peerinvalid", [er.message].concat(peerErrors).join("\n"))
230    break
282  // just a line break
283  if (log.levels[log.level] <= log.levels.error) console.error("")
284  log.error("System", os.type() + " " + os.release())
nemo-error-reporting.c https://github.com/aldatsa/nemo.git | C | 364 lines
117		g_warning ("Hit unhandled case %s:%d in nemo_report_error_setting_group", 
118			   g_quark_to_string (error->domain), error->code);
119		/* fall through */
274	if (error &&
275	    !(error->domain == G_IO_ERROR && error->code == G_IO_ERROR_CANCELLED)) {
276		/* If rename failed, notify the user. */
287	
288	error = g_error_new (G_IO_ERROR, G_IO_ERROR_CANCELLED, "Cancelled");
289	finish_rename (NEMO_FILE (callback_data), FALSE, error);
293static void
294finish_rename (NemoFile *file, gboolean stop_timer, GError *error)
295{
331	/* Stop any earlier rename that's already in progress. */
332	error = g_error_new (G_IO_ERROR, G_IO_ERROR_CANCELLED, "Cancelled");
333	finish_rename (file, TRUE, error);
error.go https://github.com/tomnewton/go-libspotify.git | Go | 146 lines
22
23type Error C.sp_error
24
31	// support
32	ErrBadAPIVersion Error = Error(C.SP_ERROR_BAD_API_VERSION)
33
126	// The Spotify license server does not respond correctly
127	ErrOfflineLicenseError = Error(C.SP_ERROR_OFFLINE_LICENSE_ERROR)
128
129	// A LastFM scrobble authentication error has occurred
130	ErrLastFMAuthError = Error(C.SP_ERROR_LASTFM_AUTH_ERROR)
131
139// spError converts an error from libspotify into a Go error.
140func spError(err C.sp_error) error {
141	if err != C.SP_ERROR_OK {
sp-error.result https://github.com/programmer10110/webscalesql-5.6.git | Unknown | 2,889 lines
4create procedure syntaxerror(t int)|
5ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
6create procedure syntaxerror(t int)|
6create procedure syntaxerror(t int)|
7ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
8create procedure syntaxerror(t int)|
145end|
146ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into test.t1 values ("foo", 42);
147open c;
2832END|
2833SET @old_max_error_count=  @@session.max_error_count;
2834SET SESSION max_error_count= 0;
2838CALL p2();
2839SET SESSION max_error_count= @old_max_error_count;
2840DROP PROCEDURE p1;
error.test.js https://github.com/db6edr/library-sequelize.git | JavaScript | 193 lines
23      var error = new Sequelize.Error();
24      var validationError = new Sequelize.ValidationError('Validation Error', [
25        new errors.ValidationErrorItem('<field name> cannot be null', 'notNull Violation', '<field name>', null)
52      ];
53      var validationError = new Sequelize.ValidationError('Validation error', errorItems);
54      expect(validationError).to.have.property('get');
85      expect(connectionError).to.have.property('original');
86      expect(connectionError.name).to.equal('SequelizeConnectionRefusedError');
87      expect(connectionError.message).to.equal('original connection error message');
122      expect(connectionError.name).to.equal('SequelizeInvalidConnectionError');
123      expect(connectionError.message).to.equal('original connection error message');
124    });
126      var orig = new Error('original connection error message');
127      var connectionError = new Sequelize.ConnectionTimedOutError(orig);
128
Error.js https://github.com/mxrguspxrt/klassifikaator.git | JavaScript | 283 lines
29
30    describe("raising an error via Ext.Error.raise", function() {
31
77        
78            it("should not throw an error if handled by Ext.Error.handle", function() {
79                spyOn(Ext.global.console, 'warn');
176                }
177                expect(error.msg).toEqual('Custom error');
178                expect(error.data).not.toBe(null);
229                }
230                expect(error.msg).toEqual('Custom error');
231                expect(error.sourceClass).toEqual('spec.CustomClass');
232                expect(error.sourceMethod).toEqual('doSomething');
233                expect(error.toString()).toBe('spec.CustomClass.doSomething(): Custom error');
234            });
Error.js https://github.com/mxrguspxrt/klassifikaator.git | JavaScript | 291 lines
2 * A helper class for the native JavaScript Error object that adds a few useful capabilities for handling
3 * errors in an application. When you use Ext.Error to {@link #raise} an error from within any class that
4 * uses the Class System, the Error class can automatically add the source class and method from which
4 * uses the Class System, the Error class can automatically add the source class and method from which
5 * the error was raised. It also includes logic to automatically log the error to the console, if available,
6 * with additional metadata about the error. In all cases, the error will always be thrown at the end so that
102
103        var error = new Error();
104
106
107        error.message = error.message || error.msg; // 'message' is standard ('msg' is non-standard)
108        // note: the above does not work in old WebKit (me.message is readonly) (Safari 4)
269                if (cnt.error) {
270                    msg.push('Errors: ' + cnt.error);
271                }
error.log https://github.com/jitendrathakur/nleewlsler.git | Unknown | 1,334 lines
1982014-06-16 07:58:22 Error: [FatalErrorException] syntax error, unexpected $end
199#0 C:\wamp\www\newsletter\lib\Cake\Error\ErrorHandler.php(161): ErrorHandler::handleFatalError(4, 'syntax error, u...', 'C:\wamp\www\new...', 118)
200#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', 'C:\wamp\www\new...', 118, Array)
4022014-06-20 23:22:33 Error: [FatalErrorException] syntax error, unexpected end of file
403#0 /var/www/html/newsletter/lib/Cake/Error/ErrorHandler.php(161): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/var/www/html/n...', 118)
404#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/var/www/html/n...', 118, Array)
4662014-06-20 23:24:26 Error: [FatalErrorException] syntax error, unexpected end of file
467#0 /var/www/html/newsletter/lib/Cake/Error/ErrorHandler.php(161): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/var/www/html/n...', 85)
468#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/var/www/html/n...', 85, Array)
4822014-06-20 23:24:26 Error: [FatalErrorException] syntax error, unexpected end of file
483#0 /var/www/html/newsletter/lib/Cake/Error/ErrorHandler.php(161): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/var/www/html/n...', 85)
484#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/var/www/html/n...', 85, Array)
5462014-06-20 23:25:44 Error: [FatalErrorException] syntax error, unexpected end of file
547#0 /var/www/html/newsletter/lib/Cake/Error/ErrorHandler.php(161): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/var/www/html/n...', 107)
548#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/var/www/html/n...', 107, Array)
error.xml https://github.com/zhengjia1984/pyctp.git | XML | 129 lines
2<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by wangzhaodong (ORiON) -->
3<!DOCTYPE errors SYSTEM "error.dtd">
4<errors>
17	<error id="BROKER_NOT_FOUND" value="12" prompt="综合交易平台:找不到该经纪公司"/>
18	<error id="INVESTOR_NOT_FOUND" value="13" prompt="综合交易平台:找不到投资者"/>
19	<error id="OLD_PASSWORD_MISMATCH" value="14" prompt="综合交易平台:原口令不匹配"/>
43	<error id="INVALID_SETTLEMENT_REF" value="38" prompt="综合交易平台:不合法的结算引用"/>
44	<error id="CFFEX_NETWORK_ERROR" value="39" prompt="综合交易平台:交易所网络连接失败"/>
45	<error id="CFFEX_OVER_REQUEST" value="40" prompt="综合交易平台:交易所未处理请求超过许可数"/>
75	<!--转帐系统错误代码 -->
76	<error id="SEND_INSTITUTION_CODE_ERROR" value="1000" prompt="银期转账:发送机构代码错误"/>
77	<error id="NO_GET_PLATFORM_SN" value="1001" prompt="银期转账:取平台流水号错误"/>
98  <error id="NOT_IN_TRANSFER_TIME" value="1022" prompt="银期转账:这一时间段不能转账"/>  
99  <error id="BANK_SERVER_ERROR" value="1023" prompt="银行主机错"/>  
100  <error id="BANK_SERIAL_IS_REPEALED" value="1024" prompt="银期转账:银行已经冲正"/>  
func-error.cpp https://github.com/jinhou/clBLAS.git | C++ | 1,355 lines
29template <typename M>
30class ErrorClass
31{
35public:
36    void error(cl_int err_etalon);
37//    nano_time_t runRepeat(int rep, cl_int* err);
40template <typename T> bool
41ErrorClass<T>::generateData()
42{
57template <typename M> void
58ErrorClass<M>::error(cl_int err_etalon)
59{
95        default:
96            FAIL() << "Unknown Error cod " << err_etalon;
97        }
error-manifest.jsonld https://github.com/jeenbroekstra/jsonld-java.git | Unknown | 314 lines
5  "description": "JSON-LD to Expansion tests use object compare",
6  "name": "Error handling",
7  "baseIri": "http://json-ld.org/test-suite/tests/",
13      "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword",
14      "input": "error-0001-in.jsonld",
15      "expect": "keyword redefinition"
20      "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself",
21      "input": "error-0002-in.jsonld",
22      "expect": "recursive context inclusion"
27      "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly",
28      "input": "error-0003-in.jsonld",
29      "expect": "recursive context inclusion"
32      "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ],
33      "name": "Error dereferencing a remote context",
34      "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error",
AV.Error.html https://github.com/leancloud/javascript-sdk.git | HTML | 2,058 lines
434								<div class="fixedFont">
435								AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_DELETE_ERROR">FILE_DELETE_ERROR</a></b>
436								</div>
474								<div class="fixedFont">
475								AV.Error.<b><a href="../symbols/AV.Error.html#.INTERNAL_SERVER_ERROR">INTERNAL_SERVER_ERROR</a></b>
476								</div>
605								<div class="fixedFont">
606								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_PUSH_TIME_ERROR">INVALID_PUSH_TIME_ERROR</a></b>
607								</div>
788								<div class="fixedFont">
789								AV.Error.<b><a href="../symbols/AV.Error.html#.UNSAVED_FILE_ERROR">UNSAVED_FILE_ERROR</a></b>
790								</div>
828								<div class="fixedFont">
829								AV.Error.<b><a href="../symbols/AV.Error.html#.VALIDATION_ERROR">VALIDATION_ERROR</a></b>
830								</div>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21