PageRenderTime 95ms queryFilters 0ms Sphinxql 2559ms GetByIds 1533ms meta 0ms repositoryFilters 3ms languageFilters 6ms sourceFilters 1ms

14,015,232 results for 'ERROR repo:sofian/qualia' (95 ms)

Source

Language

Repository

error.test https://bitbucket.org/staceyoi/bb101repo.git | Unknown | 176 lines
136} {1 msg1 msg2 msg3}
137test error-4.2 {errorInfo and errorCode variables} {
138    list [catch {error msg1 {} msg3} msg] $msg $errorInfo $errorCode
154    set errorCode bogus
155    list [catch {error msg1 msg2 {}} msg] $msg $errorInfo $errorCode
156} {1 msg1 msg2 {}}
162} {1 {wrong # args: should be "error message ?errorInfo? ?errorCode?"}}
163test error-5.2 {errors in error command} {
164    list [catch {error a b c d} msg] $msg
164    list [catch {error a b c d} msg] $msg
165} {1 {wrong # args: should be "error message ?errorInfo? ?errorCode?"}}
166
169test error-6.1 {catch must reset error state} {
170    catch {error outer [catch {error inner inner.errorInfo inner.errorCode}]}
171    list $errorCode $errorInfo
error-handler.js https://bitbucket.org/mosaic/mosaic-distribution-dependencies.git | JavaScript | 305 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)
214    })
215    log.error("peerinvalid", [er.message].concat(peerErrors).join("\n"))
216    break
error.log https://bitbucket.org/djha/atim_pie_pdm.git | Unknown | 261 lines
12------------------------------------------------------------------ 
13Error Time: 2012-05-25 10:55:13 
14Error loading file:-  
16------------------------------------------------------------------ 
17Error Time: 2012-05-25 10:55:13 
18http://localhost:8080/atim_pie/graph/graph_config/piechart/config4.txt 
34------------------------------------------------------------------ 
35Error Time: 2012-05-25 10:55:13 
36Error loading file:-  
38------------------------------------------------------------------ 
39Error Time: 2012-05-25 10:55:13 
40http://localhost:8080/atim_pie/graph/graph_config/piechart/data4.txt 
42------------------------------------------------------------------ 
43Error Time: 2012-05-25 10:55:13 
44Error loading Data file: graph_config/piechart/data4.txt 
error.log https://bitbucket.org/djha/atim_pie_pdm.git | Unknown | 238 lines
12------------------------------------------------------------------ 
13Error Time: 2012-05-25 10:55:13 
14Error loading file:-  
16------------------------------------------------------------------ 
17Error Time: 2012-05-25 10:55:13 
18http://localhost:8080/atim_pie/graph/graph_config/piechart/config4.txt 
34------------------------------------------------------------------ 
35Error Time: 2012-05-25 10:55:13 
36Error loading file:-  
38------------------------------------------------------------------ 
39Error Time: 2012-05-25 10:55:13 
40http://localhost:8080/atim_pie/graph/graph_config/piechart/data4.txt 
42------------------------------------------------------------------ 
43Error Time: 2012-05-25 10:55:13 
44Error loading Data file: graph_config/piechart/data4.txt 
private-Error.pm https://bitbucket.org/nbargnesi/git.git | Perl | 827 lines
156	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
157	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::run_clauses[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
158	$err->{'-stacktrace'} = $trace
693
694Flush the last error created, or the last error associated with
695C<PACKAGE>.It is necessary to clear the error stack before exiting the
709
710If the variable C<$Error::Debug> was non-zero when the error was
711created, then C<stacktrace> returns a string created by calling
750A method that will return a value that can be associated with the
751error. For example if an error was created due to the failure of a
752system call, then this may return the numeric value of C<$!> at the
801    {
802        local $Error::ObjectifyCallback = \&throw_MyError_Bar;
803
error.js https://bitbucket.org/ytkyaw/ydn-base.git | JavaScript | 95 lines
14goog.provide('ydn.debug.error.InvalidOperationException');
15goog.provide('ydn.debug.error.InternalError');
16
29};
30goog.inherits(ydn.debug.error.ArgumentException, goog.debug.Error);
31
81  if (Error.captureStackTrace) {
82    Error.captureStackTrace(this, ydn.debug.error.InternalError);
83  } else {
91};
92goog.inherits(ydn.debug.error.InternalError, Error);
93
93
94ydn.debug.error.InternalError.prototype.name = 'ydn.error.InternalError';
95
error.c https://bitbucket.org/tifan/cde.git | C | 439 lines
25
26/* Error.c contains procedures for issuing error messages and warnings in
27   BUILD and ELTDEF */
173
174/* Writes an error message to standard error and file "error" */
175void m_error(text)
243
244/* Writes an error message with three arguments to standard error and file
245   "error" */
337
338/* Writes a nonfatal error message to standard error and file "error" */
339void warning(text)
389
390/* Writes a nonfatal error message with three arguments to standard error
391   and file "error" */
error.c https://bitbucket.org/tifan/cde.git | C | 439 lines
25
26/* Error.c contains procedures for issuing error messages and warnings in
27   BUILD and ELTDEF */
173
174/* Writes an error message to standard error and file "error" */
175void m_error(text)
243
244/* Writes an error message with three arguments to standard error and file
245   "error" */
337
338/* Writes a nonfatal error message to standard error and file "error" */
339void warning(text)
389
390/* Writes a nonfatal error message with three arguments to standard error
391   and file "error" */
error.c https://bitbucket.org/tifan/cde.git | C | 439 lines
25
26/* Error.c contains procedures for issuing error messages and warnings in
27   BUILD and ELTDEF */
173
174/* Writes an error message to standard error and file "error" */
175void m_error(text)
243
244/* Writes an error message with three arguments to standard error and file
245   "error" */
337
338/* Writes a nonfatal error message to standard error and file "error" */
339void warning(text)
389
390/* Writes a nonfatal error message with three arguments to standard error
391   and file "error" */
error.c https://bitbucket.org/tifan/cde.git | C | 439 lines
25
26/* Error.c contains procedures for issuing error messages and warnings in
27   BUILD and ELTDEF */
173
174/* Writes an error message to standard error and file "error" */
175void m_error(text)
243
244/* Writes an error message with three arguments to standard error and file
245   "error" */
337
338/* Writes a nonfatal error message to standard error and file "error" */
339void warning(text)
389
390/* Writes a nonfatal error message with three arguments to standard error
391   and file "error" */
error.c https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C | 245 lines
54  ERR (GSASL_BASE64_ERROR, N_("Base 64 coding error in SASL library")),
55  ERR (GSASL_CRYPTO_ERROR, N_("Low-level crypto error in SASL library")),
56  { 10, NULL, NULL },
113       N_("SASL mechanism could not parse input")),
114  ERR (GSASL_AUTHENTICATION_ERROR, N_("Error authenticating user")),
115  OBS (32, GSASL_CANNOT_GET_CTX,
116       N_("Cannot get internal library handle (library error)")),
117  ERR (GSASL_INTEGRITY_ERROR, N_("Integrity error in application payload")),
118  OBS (34, GSASL_NO_MORE_REALMS, N_("No more realms available (non-fatal)")),
210
211  if (err < 0 || err >= (sizeof (errors) / sizeof (errors[0])))
212    return _(unknown);
240{
241  if (err < 0 || err >= (sizeof (errors) / sizeof (errors[0])))
242    return NULL;
gpg-error.h.in https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | Autoconf | 270 lines
50
51   An error code together with an error source build up an error
52   value.  As the error value is been passed from one component to
101
102/* The error value type gpg_error_t.  */
103
220
221/* Retrieve the error code for the system error ERR.  This returns
222   GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report
226
227/* Retrieve the system error for the error code CODE.  This returns 0
228   if CODE is not a system error code.  */
259static GPG_ERR_INLINE gpg_error_t
260gpg_error_from_syserror (void)
261{
gpg-error.h https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C Header | 668 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.  */
657static GPG_ERR_INLINE gpg_error_t
658gpg_error_from_syserror (void)
659{
gpg-error.lisp https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | Lisp | 233 lines
78(defun c-gpg-err-make (source code)
79  "Construct an error value from an error code and source.
80   Within a subsystem, use gpg-error instead."
206(defun gpg-err-code-from-errno (err)
207  "Retrieve the error code for the system error.  If the system error
208   is not mapped, :gpg-err-unknown-errno is returned."
211(defun gpg-err-code-to-errno (code)
212  "Retrieve the system error for the error code.  If this is not a
213   system error, 0 is returned."
216(defun gpg-err-code-from-syserror ()
217  "Retrieve the error code directly from the system ERRNO.  If the system error
218   is not mapped, :gpg-err-unknown-errno is returned and 
231(defun gpg-error-from-syserror ()
232  (gpg-error (gpg-err-code-from-syserror)))
233
error-handler.js https://bitbucket.org/baldpenguin/af-node-calipso.git | JavaScript | 288 lines
1
2module.exports = errorHandler
3
25    if (wroteLogFile) {
26      log.error("", [""
27                ,"Additional logging details can be found in:"
31    }
32    log.error("not ok", "code", code)
33  }
72  var printStack = false
73  // console.error("errorHandler", er)
74  if (!ini.resolved) {
89  } else if (!(er instanceof Error)) {
90    log.error("weird error", er)
91    return exit(1, true)
error.php https://bitbucket.org/organicdevelopment/joomla-2.5.git | PHP | 911 lines
359		{
360			return JError::raiseError(E_ERROR, 'JError:' . JERROR_ILLEGAL_MODE, 'Error Handling mode is not known', 'Mode: ' . $mode . ' is not implemented.');
361		}
374				{
375					return JError::raiseError(E_ERROR, 'JError:' . JERROR_ILLEGAL_OPTIONS, 'Options for callback not valid');
376				}
424
425		set_error_handler(array('JError', 'customErrorHandler'));
426	}
541
542		$level_human = JError::translateErrorLevel($error->get('level'));
543
615
616		$level_human = JError::translateErrorLevel($error->get('level'));
617		$info = $error->get('info');
Error.js https://bitbucket.org/gtong/javascripts.git | JavaScript | 251 lines
14*/
15describe("Ext.Error", function() { 
16    var global;
40
41    describe("raising an error via Ext.Error.raise", function() {
42
46                try {
47                    Ext.Error.raise('foo');
48                }
86        
87            it("should not throw an error if handled by Ext.Error.handle", function() {
88                spyOn(Ext.global.console, 'warn');
149        
150            it("should not throw an error if handled by Ext.Error.handle", function() {
151                spyOn(Ext.global.console, 'warn');
Error.js https://bitbucket.org/gtong/javascripts.git | JavaScript | 317 lines
19 * A wrapper class for the native JavaScript Error object that adds a few useful capabilities for handling
20 * errors in an Ext application. When you use Ext.Error to {@link #raise} an error from within any class that
21 * uses the Ext 4 class system, the Error class can automatically add the source class and method from which
22 * the error was raised. It also includes logic to automatically log the eroor to the console, if available,
23 * with additional metadata about the error. In all cases, the error will always be thrown at the end so that
24 * execution will halt.
86 */
87Ext.Error = Ext.extend(Error, {
88    statics: {
280            if (errors) {
281                msg = '*** Errors: ' + errors + ' - ' + msg;
282            } else if (counters.error) {
291        }
292        if (Ext.Error.notify && (hasOnError ? errors : (counters && counters.error))) {
293            Ext.Error.notify = false;
Error.js https://bitbucket.org/nkusumah/indoquran.git | JavaScript | 278 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);
222                }
223                expect(error.msg).toEqual('Custom error');
224                expect(error.sourceClass).toEqual('CustomClass');
225                expect(error.sourceMethod).toEqual('doSomething');
226                expect(error.toString()).toBe('CustomClass.doSomething(): Custom error');
227            });
error.h https://bitbucket.org/byzhang/mldemos.git | C Header | 420 lines
173        const std::string info;  // info about the error
174        const error_type type; // the type of the error
175
265                          << "terminated immediately and you should go fix this buggy program.\n\n"
266                          << "The error message from this fatal error was:\n" << this->what() << "\n\n" << "\n";
267                using namespace std;
290
291    class gui_error : public error
292    {
332
333    class socket_error : public error
334    {
374
375    class thread_error : public error
376    {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21