PageRenderTime 2950ms queryFilters 0ms Sphinxql 1895ms GetByIds 737ms meta 0ms repositoryFilters 12ms languageFilters 144ms sourceFilters 98ms

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

Source

Language

Repository

error.topaz https://github.com/KoreanFoodComics/Project-SnowBall.git | Unknown | 175 lines
1Topaz [
2    Title: "Topaz types: ERROR!"
3    Author: "Gabriele Santilli"
29
30make-type 'error! [
31    make: function [args] [res] [
33        res: make-struct [
34            type: error!
35            category: any [args/category "Internal"]
36            id: any [args/id "unspecified"]
37            message: any [args/message "Unspecified error"]
38            args: args/args
118]
119error!/("error!"): make-struct [
120    equal?: function [err1 err2] [] [
bson-error.c https://github.com/pfriedland/rmongodb.git | C | 129 lines
22#include "bson-config.h"
23#include "bson-error.h"
24#include "bson-memory.h"
45 * Parameters:
46 *       @error: A #bson_error_t.
47 *       @domain: The error domain.
60void
61bson_set_error (bson_error_t *error,  /* OUT */
62                uint32_t      domain, /* IN */
73      va_start (args, format);
74      bson_vsnprintf (error->message, sizeof error->message, format, args);
75      va_end (args);
76
77      error->message[sizeof error->message - 1] = '\0';
78   }
Error.h https://github.com/josephsieh/Halide.git | C++ Header | 170 lines
16/** A base class for Halide errors. */
17struct Error : public std::runtime_error {
18    // Give each class a non-inlined constructor so that the type
36 * Halide's internals. */
37struct InternalError : public Error {
38    EXPORT InternalError(const std::string &msg);
61 */
62EXPORT void set_custom_compile_time_error_reporter(CompileTimeErrorReporter* error_reporter);
63
146
147#define internal_error            Halide::Internal::ErrorReport(__FILE__, __LINE__, NULL, false, false, false, false)
148#define internal_assert(c)        Halide::Internal::ErrorReport(__FILE__, __LINE__, #c,   c,     false, false, false)
148#define internal_assert(c)        Halide::Internal::ErrorReport(__FILE__, __LINE__, #c,   c,     false, false, false)
149#define user_error                Halide::Internal::ErrorReport(__FILE__, __LINE__, NULL, false, true, false, false)
150#define user_assert(c)            Halide::Internal::ErrorReport(__FILE__, __LINE__, #c,   c,     true, false, false)
error.c https://github.com/tklauser/libnl.git | C | 117 lines
1/*
2 * lib/error.c		Error Handling
3 *
52/**
53 * Return error message for an error code
54 * @return error message
55 */
56const char *nl_geterror(int error)
57{
57{
58	error = abs(error);
59
85{
86	error = abs(error);
87
error.php https://github.com/benphelps/Phelps-Framework.git | PHP | 101 lines
30  var $levels = [
31    E_ERROR           =>  'Error',
32    E_WARNING         =>  'Warning',
34    E_NOTICE          =>  'Notice',
35    E_CORE_ERROR      =>  'Core Error',
36    E_CORE_WARNING    =>  'Core Warning',
36    E_CORE_WARNING    =>  'Core Warning',
37    E_COMPILE_ERROR   =>  'Compile Error',
38    E_COMPILE_WARNING =>  'Compile Warning',
38    E_COMPILE_WARNING =>  'Compile Warning',
39    E_USER_ERROR      =>  'User Error',
40    E_USER_WARNING    =>  'User Warning',
53  {
54    $error = 'Fatal Framework Error';
55    include(SYS_DIR . 'handler/template/framework.php');
error-pages.md https://github.com/liny4cn/brightspot-cms.git | Markdown | 46 lines
2layout: default
3title: Error Pages
4id: errorPages
12
13## Error Page Element
14
14
15Start by adding your error-page elements to your web.xml and specifying the url on which they are accessed. Below the 404 error-code maps to `/404`. This could equally be `/no-page-found`:
16
18    <error-page>
19        <error-code>404</error-code>
20        <location>/404</location>
23    <error-page>
24        <error-code>505</error-code>
25        <location>/505</location>
authenticate.error.callback.test.js https://github.com/tharrington/passport.git | JavaScript | 92 lines
10  
11  describe('error with callback', function() {
12    function Strategy() {
14    Strategy.prototype.authenticate = function(req) {
15      this.error(new Error('something is wrong'));
16    };
37    it('should pass error to callback', function() {
38      expect(error).to.be.an.instanceOf(Error);
39      expect(error.message).to.equal('something is wrong');
54    Strategy.prototype.authenticate = function(req) {
55      this.error(new Error('something is wrong'));
56    };
77    it('should pass error to callback', function() {
78      expect(error).to.be.an.instanceOf(Error);
79      expect(error.message).to.equal('something is wrong');
it-error.php https://github.com/ArzuA/gitwordpress.git | PHP | 198 lines
16	2.0.1 - 2012-07-06 - Chris Jean
17		Added support for IT_CLASSES_EXPAND_ERRORS define. When truthy, it shows the error box expanded by default
18		Added support for IT_CLASSES_DISABLE_ERRORS. When truthy, it disables the error handler comletely
44			
45			ITError::show_fatal_error_message( ob_get_clean() );
46		}
74			<span id="it-fatal-error-message-links" style="display:none;">
75				(<a id="it-fatal-error-message-toggle-link" href="javascript:it_fatal_error_toggle_message()"><?php echo $message_toggle; ?></a>)
76				(<a href="javascript:it_fatal_error_remove_message()">remove</a>)
191	
192	add_filter( 'it_storage_upgrade_it-error', array( 'ITError', 'upgrade_storage' ) );
193	
193	
194	if ( ( is_user_logged_in() || ! empty( $_GET['it_classes_show_errors'] ) || ( defined( 'IT_CLASSES_SHOW_ERRORS' ) && IT_CLASSES_SHOW_ERRORS ) ) && ( ! defined( 'IT_CLASSES_DISABLE_ERRORS' ) || ! IT_CLASSES_DISABLE_ERRORS ) ) {
195		require_once( dirname( __FILE__ ) . '/it-error/class-it-classes-fatal-error-handler.php' );
error.h https://github.com/igottogetoff/gumbo-parser.git | C++ Header | 228 lines
143
144// The overall error struct representing an error in decoding/tokenizing/parsing
145// the HTML.  This contains an enumerated type flag, a source position, and then
196// Frees the memory used for a single GumboError.
197void gumbo_error_destroy(struct GumboInternalParser* parser, GumboError* error);
198
204void gumbo_error_to_string(
205    struct GumboInternalParser* parser, const GumboError* error,
206    GumboStringBuffer* output);
213void gumbo_caret_diagnostic_to_string(
214    struct GumboInternalParser* parser, const GumboError* error,
215    const char* source_text, GumboStringBuffer* output);
219void gumbo_print_caret_diagnostic(
220    struct GumboInternalParser* parser, const GumboError* error,
221    const char* source_text);
error.t https://github.com/chinmayadas/Dancer2.git | Unknown | 135 lines
37    is $e->status,  500,                                 'code';
38    is $e->title,   'Error 500 - Internal Server Error', 'title';
39    is $e->message, undef,                               'message';
52        get '/error' => sub {
53            send_error "This is a custom error message";
54            return "send_error returns so this content is not processed";
99        is( $r->code, 542, 'send_error sets the status to 542' );
100        like( $r->content, qr{Error 42},  'Error message looks good' );
101    };
115
116subtest 'Error with show_errors: 0' => sub {
117    my $err = Dancer2::Core::Error->new(
124
125subtest 'Error with show_errors: 1' => sub {
126    my $err = Dancer2::Core::Error->new(
Error.java https://github.com/enson16855/tomcat70.git | Java | 97 lines
19
20/** Error
21 *
30     */
31    private int error;
32
40     *
41     * @param error one of the value in Error
42     * @param description error message
43     */
44    private Error(int error, String description)
45    {
46        super(error + ": " + description);
47        this.error = error;
48        this.description = description;
DropboxServerException.Error.html https://github.com/convyusboy/Dropbox-Android.git | HTML | 300 lines
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>DropboxServerException.Error</title>
8<meta name="date" content="2014-03-13">
82<div class="subTitle">com.dropbox.client2.exception</div>
83<h2 title="Class DropboxServerException.Error" class="title">Class DropboxServerException.Error</h2>
84</div>
124<td class="colFirst"><code>java.lang.String</code></td>
125<td class="colLast"><code><strong><a href="../../../../com/dropbox/client2/exception/DropboxServerException.Error.html#error">error</a></strong></code>
126<div class="block">English version of the error.</div>
134<td class="colFirst"><code>java.lang.String</code></td>
135<td class="colLast"><code><strong><a href="../../../../com/dropbox/client2/exception/DropboxServerException.Error.html#userError">userError</a></strong></code>
136<div class="block">The error in the user's locale, if intended to be displayed to the user.</div>
153<tr class="altColor">
154<td class="colOne"><code><strong><a href="../../../../com/dropbox/client2/exception/DropboxServerException.Error.html#DropboxServerException.Error(java.util.Map)">DropboxServerException.Error</a></strong>(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;map)</code>&nbsp;</td>
155</tr>
error.js https://github.com/mpmedia/bluebird.git | JavaScript | 132 lines
10
11describe("Promise.prototype.error", function(){
12    describe("catches stuff originating from explicit rejections", function() {
13        specify("using constructor", function(done) {
14            var e = new Error("sup");
15            new Promise(function(resolve, reject) {
16                reject(e);
17            }).error(function(err){
18                assert(err === e);
22        specify("using Promise.reject", function(done) {
23            var e = new Error("sup");
24            Promise.reject(e).error(function(err) {
29        specify("using deferred", function(done) {
30            var e = new Error("sup");
31            var d = Promise.defer();
error-checking.js https://github.com/ouzo12/tvheadend.git | JavaScript | 378 lines
81        
82        error: function(){
83            if(enabled && window.console){
83            if(enabled && window.console){
84                console.error.apply(console, arguments);
85            }
114                            if(!Ext.isFunction(o)){
115                                A.error('Non function passed to event listener', this, ev);
116                                return false;
121                    if(!Ext.isFunction(fn)){
122                        A.error('Non function passed to event listener', this, eventName);
123                    }
138                if(!container && !this.el){
139                    A.error('Unable to render to container', this, container);
140                }
Error.js https://github.com/ouzo12/tvheadend.git | JavaScript | 97 lines
21/**
22 * Framework-wide error-handler.  Developers can override this method to provide
23 * custom exception-handling.  Framework errors will often extend from the base
27 */
28Ext.handleError = function(e) {
29    throw e;
37 * to check for common errors and problems. The messages issued by this class
38 * will aid error checking. Error checks will be automatically removed in the
39 * production build so that performance is not negatively impacted.</p>
58function generateError(data) {
59    throw new Ext.Error('foo-error', data);
60}
68
69Ext.Error.prototype = new Error();
70Ext.apply(Ext.Error.prototype, {
neutron-log-error.pot https://github.com/marios/neutron.git | Unknown | 623 lines
28#, python-format
29msgid "Policy check error while calling %s!"
30msgstr ""
70#: neutron/agent/l3_agent.py:602
71msgid "RuntimeError in obtaining router list for namespace cleanup."
72msgstr ""
98#: neutron/agent/l3_agent.py:1475
99msgid "DVR: error adding redirection logic"
100msgstr ""
129#: neutron/agent/l3_agent.py:1887
130msgid "Failed synchronizing routers due to RPC error"
131msgstr ""
583#, python-format
584msgid "%(method)s: Unexpected error for CSR (%(host)s): %(error)s"
585msgstr ""
error.go https://github.com/szaydel/go-flags.git | Go | 96 lines
60
61// Error represents a parser error. The error returned from Parse is of this
62// type. The error contains both a Type and Message.
71// Error returns the error's message
72func (e *Error) Error() string {
73	return e.Message
75
76func newError(tp ErrorType, message string) *Error {
77	return &Error{
82
83func newErrorf(tp ErrorType, format string, args ...interface{}) *Error {
84	return newError(tp, fmt.Sprintf(format, args...))
86
87func wrapError(err error) *Error {
88	ret, ok := err.(*Error)
Error.js https://github.com/OmarAcero/roBrowser.git | JavaScript | 78 lines
51	 *
52	 * @param {Error} error
53	 */
53	 */
54	Error.addTrace = function addTrace( error )
55	{
56		var url = requirejs.toUrl(''); // global
57		error   = error.stack || error;
58
59		url   = url.replace(/\/([^\/]+)$/g,'/');
60		error = error.replace( /\n/g, '<br/>');
61		error = error.replace( new RegExp(url,'g'), '');
61		error = error.replace( new RegExp(url,'g'), '');
62		error = error.replace( /\?[^\:]+/g,'');
63
traffic-server-error-messages.en.rst https://github.com/anorsich/trafficserver.git | Unknown | 374 lines
1.. _traffic-server-error-messages:
2
2
3Error Messages
4**************
25
26Traffic Server Error Messages
27=============================
47
48``<Logfile> error: error_number``
49   Generic logging error.
58``Could not rename log <filename> to <rolled filename>``
59   System error when renaming log file during roll.
60
71``Missing field for field marker``
72   Error reading a log buffer.
73
error-model.h https://github.com/scarletttu/ns-3-codel-dev.git | C++ Header | 311 lines
67 * \ingroup network
68 * \defgroup errormodel Error Model
69 */
102 *
103 * Two practical error models, a ListErrorModel and a RateErrorModel,
104 * are currently implemented. 
226 * cause subsequent packet uids to change.  For instance, suppose one wants 
227 * to error packets 11 and 17 on a given device.  It may be that erroring
228 * packet 11 will cause the subsequent uid stream to change and 17 may no
236 */
237class ListErrorModel : public ErrorModel
238{
277 */
278class ReceiveListErrorModel : public ErrorModel
279{
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21