PageRenderTime 11ms queryFilters 0ms Sphinxql 301ms app.CodeModel.GetByIds 1618ms findMatchingLines 26ms GetByIds 1644ms meta 0ms repositoryFilters 7ms languageFilters 18ms sourceFilters 1ms

5,833,776 results for 'ERROR repo:dabomb69/bash-portable' (11 ms)

Source

Language

Repository

Error.php https://github.com/tquensen/QPMS.git | PHP | 94 lines
30            $this->view->e = $params['exception'];
31            $this->view->setFile('error/error401debug');
32        }
48            $this->view->e = $params['exception'];
49            $this->view->setFile('error/error403debug');
50        }
66            $this->view->e = $params['exception'];
67            $this->view->setFile('error/error404debug');
68        }
74            $this->registry->helper->meta->setTitle('Error '.$this->serverErrorCodes[$params['exception']->getCode()], false);
75            $this->view->message = 'Error '.$this->serverErrorCodes[$params['exception']->getCode()];
76            header($this->serverErrorCodes[$params['exception']->getCode()], true, $params['exception']->getCode());
78            $this->registry->helper->meta->setTitle('Error 500 Internal Server Error', false);
79            $this->view->message = 'Error 500 Internal Server Error';
80            header('500 Internal Server Error', true, 500);
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) {
class-wp-error.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 277 lines
4 *
5 * Contains the WP_Error class and the is_wp_error() function.
6 *
12 *
13 * Container for checking for WordPress errors and error messages. Return
14 * WP_Error and use {@link is_wp_error()} to check if this class is returned.
152	/**
153	 * Retrieve all error messages or error messages matching code.
154	 *
231	 *
232	 * The error code can only contain one error data.
233	 *
269 * @param mixed $thing Check if unknown variable is a WP_Error object.
270 * @return bool True, if WP_Error. False, if not WP_Error.
271 */
class-wp-error.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 262 lines
4 *
5 * Contains the WP_Error class and the is_wp_error() function.
6 *
12 *
13 * Container for checking for WordPress errors and error messages. Return
14 * WP_Error and use {@link is_wp_error()} to check if this class is returned.
196	/**
197	 * Retrieve error data for error code.
198	 *
231	 *
232	 * The error code can only contain one error data.
233	 *
254 * @param mixed $thing Check if unknown variable is a WP_Error object.
255 * @return bool True, if WP_Error. False, if not WP_Error.
256 */
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        });
class-wp-error.php https://github.com/davodey/WordPress.git | PHP | 255 lines
4 *
5 * Contains the WP_Error class and the is_wp_error() function.
6 *
12 *
13 * Container for checking for WordPress errors and error messages. Return
14 * WP_Error and use {@link is_wp_error()} to check if this class is returned.
189	/**
190	 * Retrieve error data for error code.
191	 *
224	 *
225	 * The error code can only contain one error data.
226	 *
247 * @param mixed $thing Check if unknown variable is a WP_Error object.
248 * @return bool True, if WP_Error. False, if not WP_Error.
249 */
error.js https://github.com/hezzze/ng_mobile_test.git | JavaScript | 206 lines
67/**
68 * Error extension that includes error status codes from the WebDriver wire
69 * protocol:
86  this.state =
87      bot.Error.CODE_TO_STATE_[code] || bot.Error.State.UNKNOWN_ERROR;
88
153 * A map of error codes to state string.
154 * @private {!Object.<bot.ErrorCode, bot.Error.State>}
155 */
185  map[code.MODAL_DIALOG_OPENED] = state.UNEXPECTED_ALERT_OPEN;
186  map[code.UNKNOWN_ERROR] = state.UNKNOWN_ERROR;
187  map[code.UNSUPPORTED_OPERATION] = state.UNKNOWN_COMMAND;
196 */
197bot.Error.prototype.isAutomationError = true;
198
error.go https://github.com/mmcgrana/pgpin.git | Go | 488 lines
21
22// Error represents an error communicating with the server.
23//
63func (ec ErrorClass) Name() string {
64	return errorCodeNames[ErrorCode(ec+"000")]
65}
354
355func parseError(r *readBuf) *Error {
356	err := new(Error)
445
446func (err Error) Error() string {
447	return "pq: " + err.Message
477	case error:
478		if v == io.EOF || v.(error).Error() == "remote error: handshake failure" {
479			*err = driver.ErrBadConn
error.go https://github.com/matheeeny/go-flynn-example.git | Go | 489 lines
22
23// Error represents an error communicating with the server.
24//
64func (ec ErrorClass) Name() string {
65	return errorCodeNames[ErrorCode(ec+"000")]
66}
355
356func parseError(r *readBuf) *Error {
357	err := new(Error)
446
447func (err Error) Error() string {
448	return "pq: " + err.Message
478	case error:
479		if v == io.EOF || v.(error).Error() == "remote error: handshake failure" {
480			*err = driver.ErrBadConn
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.hpp https://github.com/dscharrer/black_mesa.git | C++ Header | 197 lines
52   ///
53   class error : public compat::runtime_error {
54   public:
98   template<>
99   class invalid_object_error<event> : public error {
100   public:
161   template<>
162   class invalid_object_error<image3d> : public error {
163   public:
182   template<>
183   class invalid_object_error<sampler> : public error {
184   public:
188
189   class invalid_wait_list_error : public error {
190   public:
Error.class.php https://github.com/lanner/phpmyadmin.git | PHP | 414 lines
56        E_NOTICE             => 'notice',
57        E_CORE_ERROR         => 'error',
58        E_CORE_WARNING       => 'error',
113        // remove last three calls:
114        // debug_backtrace(), handleError() and addError()
115        $backtrace = array_slice($backtrace, 3);
218    {
219        return PMA_Error::$errortype[$this->getNumber()];
220    }
228    {
229        return PMA_Error::$errorlevel[$this->getNumber()];
230    }
358    /**
359     * whether this error is a user error
360     *
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())
libgpg-error-1.13.xml https://github.com/mschlenker/lesslinux-builder.git | XML | 81 lines
1<pkgdesc version='1.13' name='libgpg-error'>
2    <subpackage name='skel'>
45        <file path='/usr/bin/gpg-error' group='0' owner='0' mode='100755'/>
46	<file path='/usr/lib/libgpg-error.so.0.11.0' group='0' owner='0' mode='100755'/>
47    </subpackage>
52    <subpackage name='devel'>
53        <file path='/usr/lib/libgpg-error.la' group='0' owner='0' mode='100755'/>
54        <file path='/usr/bin/gpg-error-config' group='0' owner='0' mode='100755'/>
54        <file path='/usr/bin/gpg-error-config' group='0' owner='0' mode='100755'/>
55        <file path='/usr/include/gpg-error.h' group='0' owner='0' mode='100644'/>
56        <file path='/usr/share/aclocal/gpg-error.m4' group='0' owner='0' mode='100644'/>
56        <file path='/usr/share/aclocal/gpg-error.m4' group='0' owner='0' mode='100644'/>
57        <file path='/usr/share/common-lisp/source/gpg-error/gpg-error.asd' group='0' owner='0' mode='100644'/>
58        <file path='/usr/share/common-lisp/source/gpg-error/gpg-error-package.lisp' group='0' owner='0' mode='100644'/>
59        <file path='/usr/share/common-lisp/source/gpg-error/gpg-error.lisp' group='0' owner='0' mode='100644'/>
60        <file path='/usr/share/common-lisp/source/gpg-error/gpg-error-codes.lisp' group='0' owner='0' mode='100644'/>
61    </subpackage>
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 {
loading-and-error-substates.md https://github.com/mattmarcum/website.git | Markdown | 321 lines
166Similar to how the default `loading` event handlers are implemented,
167the default `error` handlers will look for an appropriate error substate to
168enter, if one can be found.
252  actions: {
253    error: function(error, transition) {
254
255      if (error && error.status === 400) {
256        // error substate and parent routes do not handle this error
257        return this.transitionTo('modelNotFound');
274  actions: {
275    error: function(error, transition) {
276
277      // Manage your errors
278      Ember.onerror(error);
279
Error.java https://github.com/vkhoroshko/voltdb.git | Java | 263 lines
175    /**
176     * Returns the error message given the error code.<br/>
177     * This method is be used when throwing exception other
179     *
180     * @param errorCode    the error code associated to the error message
181     * @return  the error message associated with the error code
187    /**
188     * Returns the error SQL STATE sting given the error code.<br/>
189     * This method is be used when throwing exception based on other exceptions.
190     *
191     * @param errorCode    the error code associated to the error message
192     * @return  the error message associated with the error code
198    /**
199     * Returns the error message given the error code.<br/> This method is used
200     * when throwing exception other than <code>HsqlException</code>.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21