PageRenderTime 75ms queryFilters 41ms Sphinxql 1839ms GetByIds 289ms meta 0ms repositoryFilters 11ms languageFilters 38ms sourceFilters 64ms

6,625,476 results for 'ERROR repo:yfli/ffmpeghls' (75 ms)

Source

Language

Repository

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 {
010-fix-idn-error-usage.patch https://github.com/jmccrohan/packages.git | Patch | 120 lines
6     {
7-      error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be specified"));
8+      error (0, 0, "%s", _("only one of -s, -e, -d, -a, -u or -n can be specified"));
24 
25-	  error (EXIT_FAILURE, errno, _("input error"));
26+	  error (EXIT_FAILURE, errno, "%s", _("input error"));
33 	      free (p);
34-	      error (EXIT_FAILURE, 0,
35+	      error (EXIT_FAILURE, 0, "%s",
42 	      free (r);
43-	      error (EXIT_FAILURE, 0,
44+	      error (EXIT_FAILURE, 0, "%s",
51 	  if (!q)
52-	    error (EXIT_FAILURE, 0,
53+	    error (EXIT_FAILURE, 0, "%s",
class-wp-error.php https://github.com/mattyws/InfocorpSite.git | PHP | 209 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.
99	/**
100	 * Retrieve all error messages or error messages matching code.
101	 *
178	 *
179	 * The error code can only contain one error data.
180	 *
201 * @param mixed $thing Check if unknown variable is a WP_Error object.
202 * @return bool True, if WP_Error. False, if not WP_Error.
203 */
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>.
Error.class.php https://github.com/Linaida/Projet_mabox.git | PHP | 422 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);
224    {
225        return PMA_Error::$errortype[$this->getNumber()];
226    }
234    {
235        return PMA_Error::$errorlevel[$this->getNumber()];
236    }
366    /**
367     * whether this error is a user error
368     *
Error.h https://github.com/yoursoultree/FlyCapture2ANE.git | C++ Header | 149 lines
49         */
50        Error( const Error& error );
51
59         */
60        virtual Error& operator=( const Error& error );
61
68         * Equality operator. This overloaded operator compares the
69         * ErrorType of the Error against the specified ErrorType.
70         */
79         * Inequality operator. This overloaded operator compares the
80         * ErrorType of the Error against the specified ErrorType.
81         */
81         */
82        virtual bool operator!=( const ErrorType& errorType ) const;
83
Error.html https://github.com/geobeyond/workshops.git | HTML | 92 lines
14 */
15<div id="method-Ext.Element-handleError"></div>/**
16 * Framework-wide error-handler.  Developers can override this method to provide
18 * Ext.Error class.
19 * @param {Object/Error} e The thrown exception object.
20 */
30 * to check for common errors and problems. The messages issued by this class
31 * will aid error checking. Error checks will be automatically removed in the
32 * production build so that performance is not negatively impacted.</p>
51function generateError(data) {
52    throw new Ext.Error('foo-error', data);
53}
61
62Ext.Error.prototype = new Error();
63Ext.apply(Ext.Error.prototype, {
error.test.js https://github.com/db6edr/library-sequelize.git | JavaScript | 193 lines
23      var error = new Sequelize.Error();
24      var validationError = new Sequelize.ValidationError('Validation Error', [
25        new errors.ValidationErrorItem('<field name> cannot be null', 'notNull Violation', '<field name>', null)
52      ];
53      var validationError = new Sequelize.ValidationError('Validation error', errorItems);
54      expect(validationError).to.have.property('get');
85      expect(connectionError).to.have.property('original');
86      expect(connectionError.name).to.equal('SequelizeConnectionRefusedError');
87      expect(connectionError.message).to.equal('original connection error message');
122      expect(connectionError.name).to.equal('SequelizeInvalidConnectionError');
123      expect(connectionError.message).to.equal('original connection error message');
124    });
126      var orig = new Error('original connection error message');
127      var connectionError = new Sequelize.ConnectionTimedOutError(orig);
128
class-wp-error.php https://github.com/alniko009/magic.git | PHP | 209 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.
99	/**
100	 * Retrieve all error messages or error messages matching code.
101	 *
178	 *
179	 * The error code can only contain one error data.
180	 *
201 * @param mixed $thing Check if unknown variable is a WP_Error object.
202 * @return bool True, if WP_Error. False, if not WP_Error.
203 */
class-it-classes-fatal-error-parser.php https://github.com/ArzuA/gitwordpress.git | PHP | 723 lines
30	
31	function IT_Classes_Fatal_Error_Parser( $error ) {
32		$this->add_data( $error, 'error_' );
146				'Parse Error',
147				'This type of error indicates that the PHP code is invalid and is typically referred to as a syntax error. It basically means that the code was written incorrectly and is preventing PHP from being able to read the code properly.',
148			),
166				'Strict Fatal Error',
167				'Strict errors only occur when E_STRICT <a href="http://php.net/manual/en/function.error-reporting.php">error reporting</a> is enabled. These types of errors indicate that the best-practices in PHP development are not followed.',
168			),
328		if ( preg_match( '/Class \'([^\']+)\' not found/', $this->data['error_message'], $match ) ) {
329			$this->add_description( "The code tried to use a PHP class that doesn't exist (<code>{$match[1]}</code>). This type of error is typically caused by a simple typo (<code>WP_error</code> rather than <code>WP_Error</code>), by trying to use a class that is provided by a plugin when that plugin is not activated, by trying to use a class before it is ready (such as trying to use a class before the code that creates it has run), or by trying to use a class that no longer exists (the class may have been removed from WordPress core or the plugin/theme that previously supplied it)." );
330			
351		if ( preg_match( '/syntax error/', $this->data['error_message'] ) ) {
352			$this->add_description( "This type error is called a \"syntax error.\" A syntax error means that the format of the code is invalid. Examples of syntax errors: a missing semicolon after a line of code, having mismatched parentheses, forgetting to put a dollar sign (<code>$</code>) in front of a variable's name, and forgetting an operator &mdash; such as a plus sign (<code>+</code>) &mdash; between two variables. There are many other possible causes of syntax errors, the preceding are just a few examples." );
353			
nodejs-error-handling.md https://github.com/jrgcubano/jsrecipes.git | Markdown | 122 lines
23error object as the first argument in a callback. Unless you properly
24handle that error, your app will likely crash sooner or later.
25
65[forever](https://github.com/nodejitsu/forever) modules. The reason why I
66called this "in-place" error handling is because you are taking care of errors
67inside `if (err)` block for each asynchronous operation that returns an error object
931. An extra route parameter `next`.
942. When error occurs, call `return next()` and pass it an error object.
95
108totally up to you in deciding what to do with those errors. Or perhaps this
109is where you would display a generic custom error page with the error message.
110
1181. [Node.js Error Handling Patterns](http://www.nodewiz.biz/nodejs-error-handling-pattern)
1192. [Best Practices for Error Handling in Node.js](http://www.joyent.com/blog/best-practices-for-error-handling-in-node-js)
1203. [Error handling in node.js](http://machadogj.com/2013/4/error-handling-in-nodejs.html)
error.h https://github.com/Bludge0n/qemu.git | C++ Header | 104 lines
19/**
20 * A class representing internal errors within QEMU.  An error has a ErrorClass
21 * code and a human message.
37 */
38void error_set_errno(Error **errp, int os_error, ErrorClass err_class,
39                     const char *fmt, ...) GCC_FMT_ATTR(4, 5);
54#define error_setg(errp, fmt, ...) \
55    error_set(errp, ERROR_CLASS_GENERIC_ERROR, fmt, ## __VA_ARGS__)
56#define error_setg_errno(errp, os_error, fmt, ...) \
56#define error_setg_errno(errp, os_error, fmt, ...) \
57    error_set_errno(errp, os_error, ERROR_CLASS_GENERIC_ERROR, \
58                    fmt, ## __VA_ARGS__)
89 */
90void error_propagate(Error **dst_errp, Error *local_err);
91
error-view.css https://github.com/navyuginfo/phabricator.git | CSS | 90 lines
42
43.aphront-error-severity-error {
44  color: {$red};
48
49.aphront-error-severity-error .aphront-error-view-head {
50  color: {$red};
58
59.aphront-error-severity-warning .aphront-error-view-head {
60  color: #bc7837;
68
69.aphront-error-severity-notice .aphront-error-view-head {
70  color: {$blue};
85
86.aphront-dialog-body .aphront-error-view .aphront-error-view-list {
87  margin: 0 0 0 16px;
error-reporting.txt https://github.com/Tagtoo/GoogleAppEngine.git | text | 278 lines
1Error reporting
2===============
9However, running with :setting:`DEBUG` set to ``False`` means you'll never see
10errors generated by your site -- everyone will just see your public error pages.
11You need to keep track of errors that occur in deployed sites, so Django can be
16
17Server errors
18~~~~~~~~~~~~~
56Django can also be configured to email errors about broken links (404 "page
57not found" errors). Django sends emails about 404 errors when:
58
127
128Error reports are really helpful for debugging errors, so it is generally
129useful to record as much relevant information about those errors as possible.
275    :ref:`exception middleware <exception-middleware>`. If you do write custom
276    error handling, it's a good idea to emulate Django's built-in error handling
277    and only report/log errors if :setting:`DEBUG` is ``False``.
error.xml https://github.com/zhengjia1984/pyctp.git | XML | 129 lines
2<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by wangzhaodong (ORiON) -->
3<!DOCTYPE errors SYSTEM "error.dtd">
4<errors>
17	<error id="BROKER_NOT_FOUND" value="12" prompt="综合交易平台:找不到该经纪公司"/>
18	<error id="INVESTOR_NOT_FOUND" value="13" prompt="综合交易平台:找不到投资者"/>
19	<error id="OLD_PASSWORD_MISMATCH" value="14" prompt="综合交易平台:原口令不匹配"/>
43	<error id="INVALID_SETTLEMENT_REF" value="38" prompt="综合交易平台:不合法的结算引用"/>
44	<error id="CFFEX_NETWORK_ERROR" value="39" prompt="综合交易平台:交易所网络连接失败"/>
45	<error id="CFFEX_OVER_REQUEST" value="40" prompt="综合交易平台:交易所未处理请求超过许可数"/>
75	<!--转帐系统错误代码 -->
76	<error id="SEND_INSTITUTION_CODE_ERROR" value="1000" prompt="银期转账:发送机构代码错误"/>
77	<error id="NO_GET_PLATFORM_SN" value="1001" prompt="银期转账:取平台流水号错误"/>
98  <error id="NOT_IN_TRANSFER_TIME" value="1022" prompt="银期转账:这一时间段不能转账"/>  
99  <error id="BANK_SERVER_ERROR" value="1023" prompt="银行主机错"/>  
100  <error id="BANK_SERIAL_IS_REPEALED" value="1024" prompt="银期转账:银行已经冲正"/>  
Error.class.php https://github.com/steph/PortFolio.git | PHP | 423 lines
52        E_NOTICE             => 'notice',
53        E_CORE_ERROR         => 'error',
54        E_CORE_WARNING       => 'error',
231    {
232        return PMA_Error::$errortype[$this->getNumber()];
233    }
237     *
238     * @uses    PMA_Error::$$errorlevel
239     * @uses    PMA_Error::getNumber()
243    {
244        return PMA_Error::$errorlevel[$this->getNumber()];
245    }
361    /**
362     * whether this error is a user error
363     *
Error.class.php https://github.com/gustavoramirezrugerio/moodle1.9.17.git | PHP | 416 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    }
360    /**
361     * whether this error is a user error
362     *
error-manifest.jsonld https://github.com/jeenbroekstra/jsonld-java.git | Unknown | 314 lines
5  "description": "JSON-LD to Expansion tests use object compare",
6  "name": "Error handling",
7  "baseIri": "http://json-ld.org/test-suite/tests/",
13      "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword",
14      "input": "error-0001-in.jsonld",
15      "expect": "keyword redefinition"
20      "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself",
21      "input": "error-0002-in.jsonld",
22      "expect": "recursive context inclusion"
27      "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly",
28      "input": "error-0003-in.jsonld",
29      "expect": "recursive context inclusion"
32      "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ],
33      "name": "Error dereferencing a remote context",
34      "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error",
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21