PageRenderTime 114ms queryFilters 40ms Sphinxql 1791ms GetByIds 697ms meta 0ms repositoryFilters 51ms languageFilters 176ms sourceFilters 57ms

6,625,476 results for 'ERROR repo:shlomif/perl-error.pm' (114 ms)

Source

Language

Repository

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.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);
windows-7-error-1068.html https://github.com/ageqynygelyx/ageqynygelyx.github.com.git | HTML | 1,786 lines
422				
423				<div class="resultAmenities">Amenities Include:<br/><p><a target="new" href="http://vtechsquadinc.wordpress.com/2012/12/04/fix-error-1068-in-windows-7/fix_window7_error/" >Fix Error 1068 in Windows 7 | vtechsquadinc</a><br/>Image navigation. Fix Error 1068 in Windows 7. Published December 4, 2012 at   210 &times; 190 in Fix Error 1068 in Windows 7 &middot; Fix Error 1068 in Windows 7 .<br/><span>http://vtechsquadinc.wordpress.com/2012/12/04/fix-error-1068-in-windows-7/fix_window7_error/</span></p></div> 
424				
631				
632				<div class="resultAmenities">Amenities Include:<br/><p><a target="new" href="http://www.vistaheads.com/forums/microsoft-public-windowsupdate/185697-re-error-0x80246008-bits-error-code-1068-a.html" >Re: Error 0x80246008 ... BITS error code: 1068 - Microsoft Windows ...</a><br/>If you have already been experiencing the error 1068 error, you can get some   help from this article error 1068 windows 7. Hope it fix your .<br/><span>http://www.vistaheads.com/forums/microsoft-public-windowsupdate/185697-re-error-0x80246008-bits-error-code-1068-a.html</span></p></div> 
633				
730			<div class="details"> 
731				<h4><a href="what-is-genetic-genealogy.html">what is genetic genealogy</a></h4><p><a target="new" href="http://www.winhelponline.com/articles/145/1/Error-1068-Error-Message-when-you-try-to-start-the-Windows-Firewall-service.html" >&quot;Error 1068&quot; Error Message when you try to start the Windows ...</a><br/>Feb 19, 2007 . &quot;Error 1068&quot; Error Message when you try to start the Windows . Error When   Clicking the Weather Gadget Hyperlink in Windows 7/Vista .<br/><span>http://www.winhelponline.com/articles/145/1/Error-1068-Error-Message-when-you-try-to-start-the-Windows-Firewall-service.html</span></p><br/> 
732				6.7 miles<br/> 
1522				
1523				<div class="resultAmenities">Amenities Include:<br/><p><a target="new" href="http://windows-exe-errors.com/error-1068-or-1075-the-dependency-service-or-group-failed-to-start/" >Error 1068 or 1075 - Windows EXE Errors</a><br/>We are going to attempt to solve your &#147;error 1068? (or the similar &#147;error 1075?)   problem right now. Error. . EXE Error Help for XP, Vista &amp; Windows 7. avatar .<br/><span>http://windows-exe-errors.com/error-1068-or-1075-the-dependency-service-or-group-failed-to-start/</span></p></div> 
1524				
1664        <div id="afActionFooter">        
1665			<div id="Accounttooltip" style="display:none;" class="afHoverboxAc"><p><a target="new" href="http://www.instant-registry-fixes.org/fix-error-1068-and-error-1083/" >Fix Error 1068 and Error 1083</a><br/>Fixing Error 1068. On your Windows XP computer, you may receive one of the   following error messages when you try to run the Internet Connection Sharing .<br/><span>http://www.instant-registry-fixes.org/fix-error-1068-and-error-1083/</span></p></div>
1666			<div style="display:none;"  class="afHoverboxFb" id="Blogtip"><p><a target="new" href="http://social.msdn.microsoft.com/Forums/en-US/windowswic/thread/6767f116-b1dd-4659-a87f-fcb4537109a6" >Windows imaging Service</a><br/>Called HP and they informed me that this is a Windows 7 issue. How do I restore   . Error 1068: The dependency service or group failed to start .<br/><span>http://social.msdn.microsoft.com/Forums/en-US/windowswic/thread/6767f116-b1dd-4659-a87f-fcb4537109a6</span></p></div>
c-error.c https://github.com/WoodyLin/r3.git | C | 836 lines
265**
266*/	void Set_Error_Type(ERROR_OBJ *error)
267/*
298**
299*/	REBVAL *Find_Error_Info(ERROR_OBJ *error, REBINT *num)
300/*
346	REBSER *err;		// Error object
347	ERROR_OBJ *error;	// Error object values
348	REBINT code = 0;
355//		if (!IS_INTEGER(&error->code)) {
356			if (!Find_Error_Info(error, &code)) code = RE_INVALID_ERROR;
357			SET_INTEGER(&error->code, code);
420	REBSER *err;		// Error object
421	ERROR_OBJ *error;	// Error object values
422
error-handling.html https://github.com/tml/php-tutorial.git | HTML | 578 lines
108// call a non-existent function
109// this will generate a fatal error (E_ERROR)
110callMeJoe();
232	<p>So far we've been talking about handling errors generated by PHP itself, but why stop there? PHP allows you to use its built-in error handling system to raise your own custom errors as well.</p>
233	<p>This is accomplished via a function named trigger_error(), which allows you to raise any of the three error types reserved for users: E_USER_NOTICE, E_USER_WARNING and E_USER_ERROR. When these errors are triggered, PHP's built-in handler will automatically wake up to handle them.</p>
234	{% highlight php %}<?php
256?>{% endhighlight %}
257	<p>If you'd like to have a custom error handler to handle your custom errors... well, you're just hard to please, aren't you? Take a look at this next example, which rewrites the previous script to use a user-defined error handler:</p>
258	{% highlight php %}<?php
312	<p>If you're using PHP 5.x, you also have an alternative to the techniques discussed so far in the new Exception model (exception is Geek for error). Exceptions are new to PHP (although they've been in languages like Java and Python for ages) and they're stirring up a great deal of excitement.</p>
313	<p>In the exception-based approach, program code is wrapped in a try() block, and exceptions generated by it are "caught" and resolved by a catch() block. Multiple catch() blocks are possible, each one dealing with a different error type; this allows developers to trap different types of errors and execute appropriate exception-handling.</p>
314	<p>Here's what a typical try-catch() block looks like:</p>
326?>{% endhighlight %}
327	<p>When PHP encounters code wrapped within a try-catch() block, it first attempts to execute the code within the try() block. If this code is processed without any exceptions being generated, control transfers to the lines following the try-catch() block. However, if an exception is generated while running the code within the try() block, PHP stops execution of the block at that point and begins checking each catch() block to see if there is a handler for the exception. If a handler is found, the code within the appropriate catch() block is executed; if not, a fatal error is generated. It is even possible to handle that fatal error in a nice way using exceptions.</p>
328	<p>The exceptions themselves are generated via PHP's throw statement. The throw statement needs to be passed a descriptive message, and an optional error code. When the exception is raised, this description and code will be made available to the exception handler.</p>
error.hh https://github.com/bhesmans/click.git | C++ Header | 888 lines
104	el_critical = 2,	///< Error level for critical conditions.
105	el_error = 3,		///< Error level for normal error conditions.
106	el_warning = 4,		///< Error level for warning conditions.
147     * to static_initialize() has any effect. */
148    static ErrorHandler *static_initialize(ErrorHandler *errh);
149
597 *
598 * Use SilentErrorHandler when an ErrorHandler object is required, but error
599 * messages should not be printed. */
843     * @param landmark default landmark */
844    LandmarkErrorHandler(ErrorHandler *errh, const String &landmark);
845
873     * cause the process to exit with status 1. */
874    BailErrorHandler(ErrorHandler *errh, int level = el_error);
875
error.lisp https://github.com/xlchen/gollum.git | Lisp | 53 lines
32		,@body))
33       (setf (elt *error-handlers* (position ,error-key xlib::*xerror-vector*)) #',fn-name))))
34
35;; errors in clx:
36;; access-error alloc-error atom-error closed-display colormap-error connection-failure cursor-error device-busy drawable-error font-error gcontext-error id-choice-error implementation-error length-error lookup-error match-error missing-parameter name-error pixmap-error reply-length-error reply-timeout request-error resource-error sequence-error server-disconnect unexpected-reply unknown-error value-error window-error
37(define-error-handler 'xlib:window-error (resource-id)
40      t
41      (apply #'error 'xlib:window-error :display display :error-key 'xlib:window-error key-vals)))
42
42
43(define-error-handler 'xlib:drawable-error ()
44  (dformat 1 "drawable-error received")
46      t
47      (apply #'error 'xlib:drawable-error :display display :error-key 'xlib:drawable-error key-vals)))
48
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.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
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.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)
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        }
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>
error.js https://github.com/vastus/blogode.git | JavaScript | 122 lines
59 *
60 * { "stack": "Error: Document update conflict. at gen_err(error.js:14:43)",
61 *   "message": "Document update conflict.",
80 * 
81 * @param {error:error|string} the error or a reason for the error
82 * @param {code:string} the recognizable error code
89function gen_err(scope,error,code,request,status_code) {
90  error       = error             || STATUS_CODES[status_code] || 'Unknown Error';
91  code        = code                                           || 'unknown';
93  request     = request                                        || {};
94  if(typeof error === 'string') { error = new Error(error); }
95  error.error          = code;
106  }
107  error = gen_err('request', error, code, request);
108  if(callback) {
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);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21