PageRenderTime 4102ms queryFilters 0ms Sphinxql 2967ms GetByIds 902ms meta 0ms repositoryFilters 14ms languageFilters 85ms sourceFilters 116ms

6,625,476 results for 'ERROR' (4102 ms)

Source

Language

Repository

error.c https://github.com/Queatz/pygrafix.git | C | 127 lines
42
43static int _glfwError = GLFW_NO_ERROR;
44static GLFWerrorfun _glfwErrorCallback = NULL;
51
52void _glfwSetError(int error, const char* description)
53{
76{
77    int error = _glfwError;
78    _glfwError = GLFW_NO_ERROR;
113
114    return "ERROR: UNKNOWN ERROR TOKEN PASSED TO glfwErrorString";
115}
121
122GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun)
123{
error.php https://github.com/linkatic/Cultunet.git | PHP | 121 lines
46	function getError($i = null, $toString = true) {
47		$error =& BloggieError::getInstance();
48		return $error->get($i, $toString);
75	 * @param	string	option error index
76	 * @param	string	indicates if jerror objects should return their error message
77	 * @return	string  error message
84			// default, return the last message
85			$error = end($this->_errors);
86		} else if (!array_key_exists($i, $this->_errors)) {
89		} else {
90			$error = $this->_errors[$i];
91		}
93		// check if only the string is requested
94		if (JError::isError($error) && $toString) {
95			return $error->toString();
error.c https://github.com/charliesome/jsos.git | C | 92 lines
17{
18    return make_generic_error(js_cstring("Error"), vm->lib.Error_prototype, vm->lib.Error, argc, argv);
19}
22{
23    return make_generic_error(js_cstring("RangeError"), vm->lib.RangeError_prototype, vm->lib.RangeError, argc, argv);
24}
70{
71    vm->lib.Error = js_value_make_native_function(vm, NULL, js_cstring("Error"), Error_construct, Error_construct);
72    js_object_put(vm->global_scope->global_object, js_cstring("Error"), vm->lib.Error);
82    
83    vm->lib.ReferenceError = js_value_make_native_function(vm, NULL, js_cstring("ReferenceError"), ReferenceError_construct, ReferenceError_construct);
84    vm->lib.ReferenceError_prototype = js_value_make_object(vm->lib.Error_prototype, vm->lib.Error);
87    
88    vm->lib.TypeError = js_value_make_native_function(vm, NULL, js_cstring("TypeError"), TypeError_construct, TypeError_construct);
89    vm->lib.TypeError_prototype = js_value_make_object(vm->lib.Error_prototype, vm->lib.Error);
error.html.haml https://github.com/nagender/ruote-kit.git | Unknown | 84 lines
5
6%h1 error #{@error.fei.sid}
7
33    %td
34      %pre.trace{ :onclick => 'Rk.toggleNext(this);' } #{h(@error.trace[0, 80] + '...')}
35      %pre.trace{ :onclick => 'Rk.toggleNext(this);', :style => 'display: none;' } #{h(@error.trace)}
45      GET
46      = alink(:expressions, @error.fei.sid)
47      -#%span.explanation
59      GET
60      = alink(:errors, @error.wfid)
61
69        %input{ :type => 'hidden', :name => '_method', :value => 'DELETE' }
70        %input{ :type => 'submit', :value => "DELETE /_ruote/errors/#{@error.fei.sid}", :title => 'replay at this error' }
71        -#%span.explanation
error-handler.js https://github.com/lsean/fh-fhc.git | JavaScript | 100 lines
1
2module.exports = errorHandler;
3
16    if (!cbCalled) {
17      log.error("cb() never called!\n ");
18    }/*
18    }/*
19    log.error([""
20              ,"Additional logging details can be found in:"
28
29function errorHandler (er) {
30  if (cbCalled) throw new Error("Callback called more than once.");
32  if (!er) return exit(0);
33  if (!(er instanceof Error)) {
34    log.error(er);
error.erl https://github.com/3lectrologos/Concuerror.git | Erlang | 72 lines
11%%%               Maria Christakis <mchrista@softlab.ntua.gr>
12%%% Description : Error interface
13%%%----------------------------------------------------------------------
14
15-module(error).
16
18
19-export_type([error/0]).
20
23-type error_type()  :: 'assertion_violation' | 'deadlock' | 'exception'.
24-type error()       :: {error_type(), term()}.
25
25
26-spec new(term()) -> error().
27
error.py https://github.com/dcarvill/reddit.git | Python | 216 lines
26from paste.httpexceptions import HTTPFound
27from pylons.middleware import error_document_template, media_path
28from pylons import c, request, g
76
77    The ErrorDocuments middleware forwards to ErrorController when error
78    related status codes are returned from the application.
94        except:
95            handle_awful_failure("Error occurred in ErrorController.__before__")
96
100        except:
101            handle_awful_failure("Error occurred in ErrorController.__after__")
102
198    """
199    Makes sure that no errors generated in the error handler percolate
200    up to the user unless debug is enabled.
error.php https://github.com/steveworkman/Uni-Sport.git | PHP | 63 lines
2define('CURR_PAGE', 'home');
3define('PAGE_TITLE','Error');
4$css = array();
15		submitlog('Hacking Attempt Detected');
16		$smarty->display('error.tpl');
17	break;
21		$smarty->assign('text',"Oops, you don't appear to have the right security level to access that area<br /><br />For some areas of this site, you need to be logged in. Try the box on the left<br /><br />Give the administrator a bell if you think this is wrong.");
22		$smarty->display('error.tpl');
23	break;
27		$smarty->assign('text',"Oh my, it looks like you're trying to edit or delete something you didn't create in the first place!<br /><br />Unless you're an admin, that's a big no no round here. Use the links to take you back from whence you came");
28		$smarty->display('error.tpl');
29	break;
33		$smarty->assign('text',"Oh no! You've wandered off the beaten path!<br /><br />Never mind, look around for the right link or use the big links at the top to start again");
34		$smarty->display('error.tpl');
35	break;
error.c https://github.com/Papafox/openvpn.git | C | 887 lines
32
33#include "error.h"
34#include "buffer.h"
157void
158error_reset ()
159{
178void
179errors_to_stderr (void)
180{
180{
181  default_err = OPENVPN_ERROR_FP;  
182}
252      openvpn_snprintf (m2, ERR_BUF_SIZE, "%s: %s (errno=%d)",
253			m1, strerror_ts (e, &gc), e);
254      SWAP;
html-parsing-error-unable-to-modify-the-parent-container-element-before-the-child-element-is-closed-kb927917.md https://github.com/ilife5/javascript-exception-archives.git | Unknown | 61 lines
1
2# HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
3
38
39[演示](http://arale.alipay.im/alipay/appaside/examples/ie8-parse-error.html)
40
53* [Internet Explorer 无法打开 Internet 站点 XXX 操作已中止。(KB927917)](http://support.microsoft.com/KB/927917)
54* [JS error in IE8 (HTML Parsing Error)](http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/10476/js-error-in-ie8-html-parsing-error)
55* [Problem with HTML Parser in IE](http://stackoverflow.com/questions/301484/problem-with-html-parser-in-ie)
55* [Problem with HTML Parser in IE](http://stackoverflow.com/questions/301484/problem-with-html-parser-in-ie)
56* [HTML Parsing Error--Unable to modify the parent container element before the child element is closed (KB927917)](http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/html-parsing-error-unable-to-modify-the-parent/968ddb1a-2e72-e011-8dfc-68b599b31bf5)
57* [HTML Parsing Error: Unable to modify the parent element before the child element is closed (K927917) in eBay -- eBay problem or mine?](http://answers.microsoft.com/en-us/ie/forum/ie8-windows_vista/html-parsing-error-unable-to-modify-the-parent/932e9ebc-3168-4a5e-b65c-3407ad9b9bbf)
57* [HTML Parsing Error: Unable to modify the parent element before the child element is closed (K927917) in eBay -- eBay problem or mine?](http://answers.microsoft.com/en-us/ie/forum/ie8-windows_vista/html-parsing-error-unable-to-modify-the-parent/932e9ebc-3168-4a5e-b65c-3407ad9b9bbf)
58* [HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)](http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/html-parsing-error-unable-to-modify-the-parent/e64759e0-d344-42d6-b1d8-0ce27504dd71)
59* [I am new to IE8 and have received this error continuously since downloading IE8](http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/i-am-new-to-ie8-and-have-received-this-error/a6e6a3be-6f1f-41a9-9ede-d4d878664615)
error-reporting.html https://github.com/gabadie/WebGL.git | HTML | 99 lines
52
53glErrorShouldBe(context, context.NO_ERROR);
54
59// Error state should be clear by this point
60glErrorShouldBe(context, context.NO_ERROR);
61// Real OpenGL error
76// Error state should be clear by this point
77glErrorShouldBe(context, context.NO_ERROR);
78
80shouldBeUndefined("context.bindFramebuffer(context.FRAMEBUFFER, null)");
81glErrorShouldBe(context, context.NO_ERROR);
82shouldBeUndefined("context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, context.RENDERBUFFER, null)");
85// Error state should be clear by this point
86glErrorShouldBe(context, context.NO_ERROR);
87shouldBeUndefined("context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0, context.TEXTURE_2D, null, 0)");
error.h https://github.com/vvnikitin/sdcboot.git | C++ Header | 89 lines
2/*                                                              */
3/*                          error.h                             */
4/*                                                              */
4/*                                                              */
5/*                    DOS-C error return codes                  */
6/*                                                              */
32#ifdef VERSION_STRINGS
33static BYTE *error_hRcsId =
34    "$Id: error.h 485 2002-12-09 00:17:15Z bartoldeman $";
37
38/* Internal system error returns                                */
39#define SUCCESS         0       /* Function was successful      */
59#define DE_INVLDBUF     -24     /* invalid buffer size, ext fnc */
60#define DE_SEEK         -25     /* error on file seek           */
61#define DE_HNDLDSKFULL  -28     /* handle disk full (?)         */
error.php https://github.com/elizad/concrete5.git | PHP | 77 lines
10/**
11 * Helper elements for dealing with errors in Concrete
12 * @package Helpers
32		/** 
33		 * Adds an error object or exception to the internal error array
34		 * @param Exception | string $e
38			if ($e instanceof ValidationErrorHelper) {
39				$this->error = array_merge($e->getList(), $this->error);			
40			} else if (is_object($e) && ($e instanceof Exception)) {
47		/** 
48		 * Returns a list of errors in the error helper
49		 * @return array
55		/** 
56		 * Returns whether or not this error helper has more than one error registered within it.
57		 * @return bool
error-reporting.html https://github.com/JunJiang/WebGL.git | HTML | 98 lines
51
52wtu.glErrorShouldBe(context, context.NO_ERROR);
53
58// Error state should be clear by this point
59wtu.glErrorShouldBe(context, context.NO_ERROR);
60// Real OpenGL error
75// Error state should be clear by this point
76wtu.glErrorShouldBe(context, context.NO_ERROR);
77
79shouldBeUndefined("context.bindFramebuffer(context.FRAMEBUFFER, null)");
80wtu.glErrorShouldBe(context, context.NO_ERROR);
81shouldBeUndefined("context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, context.RENDERBUFFER, null)");
84// Error state should be clear by this point
85wtu.glErrorShouldBe(context, context.NO_ERROR);
86shouldBeUndefined("context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0, context.TEXTURE_2D, null, 0)");
error.php https://github.com/GlobeOfGeek/bedmath.git | PHP | 102 lines
8    /**
9     * Array list of error types that are allowed. Such as user errors, form errors, etc. . . .
10     */
16     * The error array will hold elements: 
17     * (0 = 'error type(example: user error, form error', 1 = 'message', 2 = 'display type' < this is for css loading style.);
18     */
21    /**
22     * This will be a multidimentional array where the index is the error type [form][user] gathered from variable $errorTypes.
23     * The value it holds will be an array of errors under the set type. 
70        } else {
71            foreach($this->errorList as $error) {
72                if($error[0]==$type) {
87        for($c=0; $c<sizeof($this->errorList); $c++) {
88            $output.='<div class=error>'.$this->errorList[$c][0].' '.$this->errorList[$c][1].'</div>';
89        }
error.h https://github.com/thecylax/gcc4mbed.git | C++ Header | 73 lines
21 */
22#ifndef MBED_ERROR_H
23#define MBED_ERROR_H
24
25/** To generate a fatal compile-time error, you can use the pre-processor #error directive.
26 *
27 * @code
28 * #error "That shouldn't have happened!"
29 * @endcode
30 *
31 * If the compiler evaluates this line, it will report the error and stop the compile.
32 *
42 * Reporting Run-Time Errors:
43 * To generate a fatal run-time error, you can use the mbed error() function.
44 *
error.rb https://github.com/jbourassa/spree-api-client.git | Ruby | 48 lines
6        # Raised when Readability returns a 4xx or 500 HTTP status code
7        class ClientError < Error
8
11          # @param error [Exception]
12          # @return [Spree::API::Client::Error::ClientError]
13          def initialize(error=nil)
13          def initialize(error=nil)
14            if error.respond_to?(:response) && !error.response.nil?
15              http_error = error.response[:status].to_i
16
17              if ERROR_MAP.has_key?(http_error)
18                raise ERROR_MAP[http_error].new(
19                  message: error.response[:body]["error"],
20                  validation_errors: error.response[:body]["errors"])
21              else
error-help.js https://github.com/iwatchallit/towtruck.git | JavaScript | 84 lines
28    var template = options.template;
29    var errorArea = options.errorArea;
30    var relocator = options.relocator;
45      var startMark = null;
46      var errorHTML = $("<div></div>").fillError(error);
47      errorArea.html(template({error: errorHTML.html()})).show();
47      errorArea.html(template({error: errorHTML.html()})).show();
48      errorArea.eachErrorHighlight(function(start, end, i) {
49        // Point the error message's arrow at the first occurrence of
59      });
60      relocator.relocate(errorArea, startMark, "error");
61      errorArea.hide();
76        timeout = setTimeout(function() {
77          reportError(event.error);
78        }, ERROR_DISPLAY_DELAY);
error.py https://github.com/wangmxf/lesswrong.git | Python | 171 lines
24import paste.fileapp
25from pylons.middleware import error_document_template, media_path
26from pylons import c, request, g
76
77    The ErrorDocuments middleware forwards to ErrorController when error
78    related status codes are returned from the application.
88        except:
89            handle_awful_failure("Error occurred in ErrorController.__before__")
90
94        except:
95            handle_awful_failure("Error occurred in ErrorController.__after__")
96
153    """
154    Makes sure that no errors generated in the error handler percolate
155    up to the user unless debug is enabled.
error.h https://github.com/girror/itpp.git | C++ Header | 105 lines
2 * \file
3 * \brief Error functions - header file
4 * \author Tony Ottosson and Adam Piatyszek
28
29#ifndef ERROR_H
30#define ERROR_H
37
38//!\addtogroup errorfunc
39//!@{
41/*!
42 * \brief Error function for complex argument
43 * \author Adam Piatyszek
44 *
45 * This function calculates a well known error function \c erf(z)
46 * for complex \c z. The implementation is based on unofficial
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21