PageRenderTime 11ms queryFilters 46ms Sphinxql 3052ms GetByIds 1182ms meta 0ms repositoryFilters 8ms languageFilters 10ms sourceFilters 1ms

3,992,007 results for 'ERROR repo:gburanov/nfc_test' (11 ms)

Source

Language

Repository

Option.Error.html https://bitbucket.org/mart_bogdan/reactive4java | HTML | 347 lines
132<h3>Nested classes/interfaces inherited from class&nbsp;hu.akarnokd.reactive4java.base.<a href="../../../../hu/akarnokd/reactive4java/base/Option.html" title="class in hu.akarnokd.reactive4java.base">Option</a></h3>
133<code><a href="../../../../hu/akarnokd/reactive4java/base/Option.Error.html" title="class in hu.akarnokd.reactive4java.base">Option.Error</a>&lt;<a href="../../../../hu/akarnokd/reactive4java/base/Option.Error.html" title="type parameter in Option.Error">T</a>&gt;, <a href="../../../../hu/akarnokd/reactive4java/base/Option.None.html" title="class in hu.akarnokd.reactive4java.base">Option.None</a>&lt;<a href="../../../../hu/akarnokd/reactive4java/base/Option.None.html" title="type parameter in Option.None">T</a>&gt;, <a href="../../../../hu/akarnokd/reactive4java/base/Option.Some.html" title="class in hu.akarnokd.reactive4java.base">Option.Some</a>&lt;<a href="../../../../hu/akarnokd/reactive4java/base/Option.Some.html" title="type parameter in Option.Some">T</a>&gt;</code></li>
134</ul>
154<td class="colFirst"><code><a href="http://java.sun.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
155<td class="colLast"><code><strong><a href="../../../../hu/akarnokd/reactive4java/base/Option.Error.html#error()">error</a></strong>()</code>&nbsp;</td>
156</tr>
158<td class="colFirst"><code>boolean</code></td>
159<td class="colLast"><code><strong><a href="../../../../hu/akarnokd/reactive4java/base/Option.Error.html#hasError()">hasError</a></strong>()</code>&nbsp;</td>
160</tr>
178<h3>Methods inherited from class&nbsp;hu.akarnokd.reactive4java.base.<a href="../../../../hu/akarnokd/reactive4java/base/Option.html" title="class in hu.akarnokd.reactive4java.base">Option</a></h3>
179<code><a href="../../../../hu/akarnokd/reactive4java/base/Option.html#error(java.lang.Throwable)">error</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#getError(hu.akarnokd.reactive4java.base.Option)">getError</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#hasValue()">hasValue</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#isError(hu.akarnokd.reactive4java.base.Option)">isError</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#isNone()">isNone</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#isNone(hu.akarnokd.reactive4java.base.Option)">isNone</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#isSome(hu.akarnokd.reactive4java.base.Option)">isSome</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#none()">none</a>, <a href="../../../../hu/akarnokd/reactive4java/base/Option.html#some(T)">some</a></code></li>
180</ul>
223<dt><strong>Overrides:</strong></dt>
224<dd><code><a href="../../../../hu/akarnokd/reactive4java/base/Option.html#hasError()">hasError</a></code>&nbsp;in class&nbsp;<code><a href="../../../../hu/akarnokd/reactive4java/base/Option.html" title="class in hu.akarnokd.reactive4java.base">Option</a>&lt;<a href="../../../../hu/akarnokd/reactive4java/base/Option.Error.html" title="type parameter in Option.Error">T</a>&gt;</code></dd>
225<dt><span class="strong">Returns:</span></dt><dd>true if this option has an error (not value).</dd></dl>
error.c https://bitbucket.org/brendanarnold/py-fortranformat | C | 1,044 lines
36
37static gfc_error_buf error_buffer, warning_buffer, *cur_error_buffer;
38
88    {
89      if (cur_error_buffer->index >= cur_error_buffer->allocated)
90	{
713  errors++;
714  if ((gfc_option.max_errors != 0) && (errors >= gfc_option.max_errors))
715    gfc_fatal_error ("Error count reached limit of %d.", gfc_option.max_errors);
898  va_start (argp, nocmsgid);
899  error_print (_("Error:"), _(nocmsgid), argp);
900  va_end (argp);
997void
998gfc_push_error (gfc_error_buf *err)
999{
topics.error.txt https://bitbucket.org/21h/torchok-anon | Unknown | 160 lines
123{
124	if($error=Yii::app()->errorHandler->error)
125		$this->render('error', $error);
128
129In the action, we first retrieve the detailed error information from [CErrorHandler::error].
130If it is not empty, we render the `error` view together with the error information.
130If it is not empty, we render the `error` view together with the error information.
131The error information returned from [CErrorHandler::error] is an array with the following fields:
132
133 * `code`: the HTTP status code (e.g. 403, 500);
134 * `type`: the error type (e.g. [CHttpException], `PHP Error`);
135 * `message`: the error message;
140
141> Tip: The reason we check if [CErrorHandler::error] is empty or not is because
142the `error` action may be directly requested by an end user, in which case there is no error.
topics.error.txt https://bitbucket.org/21h/torchok-anon | Unknown | 155 lines
97Mulai dari Yii versi 1.0.6, Yii memungkinkan kita menggunakan sebuah [action dari controller](/doc/guide/basics.controller#action)
98untuk menangani tugas penampilan error. Untuk itu, kita harus mengatur error handler(penanganan error) dalam konfigurasi aplikasi:
99
121{
122	if($error=Yii::app()->errorHandler->error)
123		$this->render('error', $error);
126
127Pada action, kita pertama mengambil informasi error yang detail dari [CErrorHandler::error].
128Jika properti tersebut tidak kosong, kita akan menampilkan view `error` bersama dengan informasi error.
128Jika properti tersebut tidak kosong, kita akan menampilkan view `error` bersama dengan informasi error.
129Informasi error yang dikembalikan dari [CErrorHandler::error] adalah sebuah larik(array) dengan field-field berupa:
130
131 * `code`: kode status HTTP (misalnya 403, 500);
132 * `type`: Jenis error (misalnya [CHttpException], `PHP Error`);
133 * `message`: pesan error;
error.xml https://bitbucket.org/leeguevara/xg_exchange_system_ | XML | 125 lines
2<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by wangzhaodong (ORiON) -->
3<!DOCTYPE errors SYSTEM "error.dtd">
4<errors>
16	<error id="USER_NOT_FOUND" value="11" prompt="综合交易平台:找不到该用户"/>
17	<error id="BROKER_NOT_FOUND" value="12" prompt="综合交易平台:找不到该经纪公司"/>
18	<error id="INVESTOR_NOT_FOUND" value="13" 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="综合交易平台:交易所未处理请求超过许可数"/>
73	<!--转帐系统错误代码 -->
74	<error id="SEND_INSTITUTION_CODE_ERROR" value="1000" prompt="银期转账:发送机构代码错误"/>
75	<error id="NO_GET_PLATFORM_SN" value="1001" prompt="银期转账:取平台流水号错误"/>
96  <error id="NOT_IN_TRANSFER_TIME" value="1022" prompt="银期转账:这一时间段不能转账"/>  
97  <error id="BANK_SERVER_ERROR" value="1023" prompt="银行主机错"/>  
98  <error id="BANK_SERIAL_IS_REPEALED" value="1024" prompt="银期转账:银行已经冲正"/>  
error.reporting.js git://github.com/visionmedia/jade.git | JavaScript | 194 lines
17  }
18  throw new Error('Input was supposed to result in an error.');
19}
25  }
26  throw new Error('Input was supposed to result in an error.');
27}
47      it('includes detail of where the error was thrown including the filename', function () {
48        var err = getFileError(__dirname + '/fixtures/compile.with.layout.syntax.error.pug', {})
49        assert(/[\\\/]layout.syntax.error.pug:2/.test(err.message))
151      it('includes detail of where the error was thrown including the filename', function () {
152        var err = getFileError(__dirname + '/fixtures/runtime.with.mixin.error.pug', {})
153        assert(/mixin.error.pug:2/.test(err.message))
158      it('includes detail of where the error was thrown including the filename', function () {
159        var err = getFileError(__dirname + '/fixtures/runtime.layout.error.pug', {})
160        assert(/layout.with.runtime.error.pug:3/.test(err.message))
Error.pm https://bitbucket.org/shlomif/perl-error.pm | Perl | 1,042 lines
169	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
170	$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;
171	$err->{'-stacktrace'} = $trace
840
841If the variable C<$Error::Debug> was non-zero when the error was
842created, then C<stacktrace> returns a string created by calling
888A method that will return a value that can be associated with the
889error. For example if an error was created due to the failure of a
890system call, then this may return the numeric value of C<$!> at the
936    {
937        local $Error::ObjectifyCallback = \&throw_MyError_Bar;
938
1005
1006L<Error::Exception> aims to combine L<Error> and L<Exception::Class>
1007"with correct stringification".
error.cc https://bitbucket.org/ttl/octave-ttl | C++ | 2,146 lines
185static void
186verror (bool save_last_error, std::ostream& os,
187        const char *name, const char *id, const char *fmt, va_list args,
1884                  Vlast_error_message = new_error_message;
1885                  Vlast_error_id = new_error_id;
1886
1905          else
1906            error ("lasterror: argument must be a structure or a string");
1907        }
1926also set the last message identifier.\n\
1927@seealso{lasterror, error, lastwarn}\n\
1928@end deftypefn")
1945          std::string prev_error_id = Vlast_error_id;
1946          std::string prev_error_message = Vlast_error_message;
1947
Ext.Error.html https://github.com/jaygarcia/addressbook.git | HTML | 31 lines
1<div xmlns:ext="http://www.extjs.com" class="body-wrap"><h1>Class <a href="source/Error.html#cls-Ext.Error">Ext.Error</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr><tr><td class="label">Defined In:</td><td class="hd-info">Error.js</td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/Error.html#cls-Ext.Error">Error</a></td></tr><tr><td class="label">Subclasses:</td><td class="hd-info"><a href="output/Ext.data.Api.Error.html" ext:cls="Ext.data.Api.Error">Api.Error</a>,&#13;<a href="output/Ext.data.DataProxy.Error.html" ext:cls="Ext.data.DataProxy.Error">DataProxy.Error</a>,&#13;<a href="output/Ext.data.DataReader.Error.html" ext:cls="Ext.data.DataReader.Error">DataReader.Error</a>,&#13;<a href="output/Ext.data.Store.Error.html" ext:cls="Ext.data.Store.Error">Store.Error</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description"><p>A base error class. Future implementations are intended to provide more
2robust error handling throughout the framework (<b>in the debug build only</b>)
3to check for common errors and problems. The messages issued by this class
4will aid error checking. Error checks will be automatically removed in the
5production build so that performance is not negatively impacted.</p>
24    throw <b>new</b> Ext.Error(<em>'foo-error'</em>, data);
25}</code></pre></div><div class="hr"></div><a id="Ext.Error-props"></a><h2>Public Properties</h2><div class="no-members">This class has no public properties.</div><a id="Ext.Error-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.Error-getMessage"></a><b><a href="source/Error.html#method-Ext.Error-getMessage">getMessage</a></b>()
26    :
26    :
27                                        String<div class="mdesc"><div class="short">getMessage</div><div class="long">getMessage<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Error</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.Error-getName"></a><b><a href="source/Error.html#method-Ext.Error-getName">getName</a></b>()
28    :
28    :
29                                        String<div class="mdesc"><div class="short">getName</div><div class="long">getName<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Error</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.Error-toJson"></a><b><a href="source/Error.html#method-Ext.Error-toJson">toJson</a></b>()
30    :
30    :
31                                        String<div class="mdesc"><div class="short">toJson</div><div class="long">toJson<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Error</td></tr></tbody></table><a id="Ext.Error-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>
error-handler.js https://github.com/cshimmin/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
error.php https://github.com/mylescarrick/moodle.git | PHP | 520 lines
194$string['ddlunknownerror'] = 'Unknown DDL library error';
195$string['ddlxmlfileerror'] = 'XML database file errors found';
196$string['destinationcmnotexit'] = 'The destination course module does not exist';
216$string['erroronline'] = 'Error on line {$a}';
217$string['errorparsingxml'] = 'Error parsing XML: {$a->errorstring} at line {$a->errorline}, char {$a->errorchar}';
218$string['errorreadingfile'] = 'Error reading file "{$a}"';
457$string['unknowformat'] = 'Format not known ({$a})';
458$string['unknownbackupexporterror'] = 'Unknown error preparing information for import';
459$string['unknownblockregion'] = 'The block region \'{$a}\' is not recognised on this page.';
489$string['usermustbemnet'] = 'Users in the MNET access control list must be remote MNET users';
490$string['usernotaddederror'] = 'User not added - error';
491$string['usernotaddedregistered'] = 'User not added - already registered';
493$string['usernotdeletedadmin'] = 'User not deleted - can not delete administrator accounts';
494$string['usernotdeletederror'] = 'User not deleted - error';
495$string['usernotdeletedmissing'] = 'User not deleted - could not find the username';
error.php https://github.com/glovenone/moodle.git | PHP | 524 lines
194$string['ddlunknownerror'] = 'Unknown DDL library error';
195$string['ddlxmlfileerror'] = 'XML database file errors found';
196$string['destinationcmnotexit'] = 'The destination course module does not exist';
216$string['erroronline'] = 'Error on line {$a}';
217$string['errorparsingxml'] = 'Error parsing XML: {$a->errorstring} at line {$a->errorline}, char {$a->errorchar}';
218$string['errorreadingfile'] = 'Error reading file "{$a}"';
461$string['unknowformat'] = 'Format not known ({$a})';
462$string['unknownbackupexporterror'] = 'Unknown error preparing information for import';
463$string['unknownblockregion'] = 'The block region \'{$a}\' is not recognised on this page.';
493$string['usermustbemnet'] = 'Users in the MNET access control list must be remote MNET users';
494$string['usernotaddederror'] = 'User not added - error';
495$string['usernotaddedregistered'] = 'User not added - already registered';
497$string['usernotdeletedadmin'] = 'User not deleted - can not delete administrator accounts';
498$string['usernotdeletederror'] = 'User not deleted - error';
499$string['usernotdeletedmissing'] = 'User not deleted - could not find the username';
error-handler.js https://github.com/cspotcode/npm.git | JavaScript | 242 lines
1
2module.exports = errorHandler
3
14process.on("exit", function (code) {
15  // console.error("exit", code)
16  if (!ini.resolved) return
20    if (!cbCalled) {
21      log.error("cb() never called!\n ")
22    }
22    }
23    log.error([""
24              ,"Additional logging details can be found in:"
32function errorHandler (er) {
33  // console.error("errorHandler", er)
34  if (!ini.resolved) {
error-model.h https://bitbucket.org/cttc-lena/ns-3-lena-dev | C++ Header | 465 lines
75 * \ingroup network
76 * \defgroup errormodel Error Model
77 */
111 *
112 * Four practical error models, a RateErrorModel, a BurstErrorModel, 
113 * a ListErrorModel, and a ReceiveListErrorModel, are currently implemented. 
181 */
182class RateErrorModel : public ErrorModel
183{
368 * cause subsequent packet uids to change.  For instance, suppose one wants 
369 * to error packets 11 and 17 on a given device.  It may be that erroring
370 * packet 11 will cause the subsequent uid stream to change and 17 may no
378 */
379class ListErrorModel : public ErrorModel
380{
error-handler.js https://github.com/jmoyers/npm.git | JavaScript | 212 lines
1
2module.exports = errorHandler
3
14process.on("exit", function (code) {
15  // console.error("exit", code)
16  if (!ini.resolved) return
20    if (!cbCalled) {
21      log.error("cb() never called!\n ")
22    }
22    }
23    log.error([""
24              ,"Additional logging details can be found in:"
32function errorHandler (er) {
33  // console.error("errorHandler", er)
34  if (!ini.resolved) {
Error.cs https://bitbucket.org/ipre/calico.git | C# | 593 lines
39// Legacy Error
40// <error code="501">Not Implemented</error>
41
48{
49	// XMPP error condition  		XMPP error type  	Legacy error code
50	// <bad-request/> 				modify 				400
112        /// The server could not process the stanza because of a misconfiguration or an otherwise-undefined 
113        /// internal server error; the associated error type SHOULD be "wait" or "cancel".
114        /// </summary>
376
377        public Error(ErrorType type, ErrorCondition condition) : this(type)
378        {
452				else if (HasTag("internal-server-error"))	// <internal-server-error/>
453					return ErrorCondition.InternalServerError;
454				else if (HasTag("item-not-found"))			// <item-not-found/> 
error-handler.js https://bitbucket.org/KamranMackey/node.git | JavaScript | 282 lines
1
2module.exports = errorHandler
3
16process.on("exit", function (code) {
17  // console.error("exit", code)
18  if (!ini.resolved) return
22    if (!cbCalled) {
23      log.error("cb() never called!\n ")
24    }
25    if (wroteLogFile) {
26      log.error([""
27                ,"Additional logging details can be found in:"
68function errorHandler (er) {
69  // console.error("errorHandler", er)
70  if (!ini.resolved) {
error-view.css https://github.com/Rud5G/phabricator.git | CSS | 53 lines
1/**
2 * @provides aphront-error-view-css
3 */
4
5.aphront-error-view {
6  margin: 1em auto;
13
14.aphront-error-width-default {
15  width: 720px;
17
18.aphront-error-width-dialog {
19  width: 300px;
25
26.aphront-error-severity-error {
27  border: 1px solid #aa0000;
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.php https://github.com/Tenga/laravel.git | PHP | 106 lines
2
3class Error {
4
44	/**
45	 * Handle a native PHP error as an ErrorException.
46	 *
56
57		// For a PHP error, we'll create an ErrorExcepetion and then feed that
58		// exception to the exception method, which will create a simple view
59		// of the exception details for the developer.
60		$exception = new \ErrorException($error, $code, 0, $file, $line);
61
81		// as it will not yet have been handled.
82		$error = error_get_last();
83
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21