PageRenderTime 33ms queryFilters 0ms Sphinxql 1931ms GetByIds 1912ms meta 0ms repositoryFilters 4ms languageFilters 10ms sourceFilters 2ms

14,015,232 results for 'ERROR repo:wetterj/fg-gc' (33 ms)

Source

Language

Repository

error-handling.sh https://github.com/wwwjscom/Segments-Tester.git | Shell | 587 lines
50if (-z difference) then
51    echo "Status: OK\!\! Output error message matches target error message (as provided in $TARGETFILE)"
52else
216if (-z difference) then
217    echo "Status: OK\!\! Output error message matches target error message (as provided in $TARGETFILE)"
218else
537else
538    echo "Status: ERROR\!\! Following differences exist between error.out and $TARGETFILE :"
539    cat difference
557if(-z difference) then
558	echo "Status: OK\!\! Output error message matches target error message (as provided in test-1.sub-6.reqd)"
559else
559else
560	echo "Status: ERROR\!\! Following differences exist between error.out and test-1.sub-6.reqd :"
561    cat difference
code-error.html.tmpl https://github.com/weshayutin/template.git | Unknown | 541 lines
28[%# This is a list of all the possible code errors. Please keep them in
29  # alphabetical order by error tag, and leave a blank line between errors.
30  #
78    Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned 
79    the error [% bug.error FILTER html %].
80    
471    [%# Try to find hooked error messages %]
472    [% error_message = Hook.process("errors") %]
473    [% IF NOT error_message %]
485
486[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
487[% USE Bugzilla %]
487[% USE Bugzilla %]
488[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
489  [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %]
user-error.html.tmpl https://github.com/weshayutin/template.git | Unknown | 1,750 lines
23  # header_done: boolean. True if the Bugzilla header has already been printed.
24  # error: string. The tag of the error, or the error message to be displayed
25  # (deprecated). May contain HTML if it's an error message.
28[%# This is a list of all the possible user errors. Please keep them in
29  # alphabetical order by error tag, and leave a blank line between errors.
30  #
35  # via hooks: just place your <extension>-errors.html.tmpl into 
36  # template/en/extension/hook/global/user-error.html.tmpl/errors/
37  # Note: be aware of uniqueness of error string parameter value, since 
1673
1674[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
1675[% USE Bugzilla %]
1675[% USE Bugzilla %]
1676[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
1677  [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %]
Error.wxi https://github.com/snktagarwal/openafs.git | WiX include | 320 lines
2
3<Error Id="0">{{Erro fatal: }}</Error>
4
6
7<Error Id="2">Aviso [1]. </Error>
8
8
9<Error Id="3"></Error>
10
10
11<Error Id="4">Informaушes [1]. </Error>
12
106
107<Error Id="1326">Erro ao obter seguranуa do arquivo: [3] GetLastError: [2]</Error>
108
code-error.html.tmpl https://github.com/andywiens/Bugzilla-Custom-CAS.git | Unknown | 2,233 lines
140    }
141    elsif ($stash->get('error') eq 'bug_error') {
142    $output .=  "\n    Trying to retrieve ";
1896    }
1897    elsif ($stash->get('error') eq 'template_error') {
1898#line 442 "template/en/default/global/code-error.html.tmpl"
2016#line 476 "template/en/default/global/code-error.html.tmpl"
2017    $stash->set('error_message', $stash->get(['Hook', 0, 'process', [ 'errors' ]]));
2018#line 486 "template/en/default/global/code-error.html.tmpl"
2209        die $@ if $@;
2210        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
2211        die $_tt_error if $_tt_error;
2223            $_tt_error = $context->catch($@, \$output);
2224            die $_tt_error unless $_tt_error->type eq 'return';
2225        }
user-error.html.tmpl https://github.com/andywiens/Bugzilla-Custom-CAS.git | Unknown | 6,510 lines
1597        die $@ if $@;
1598        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
1599        die $_tt_error if $_tt_error;
1606        die $@ if $@;
1607        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
1608        die $_tt_error if $_tt_error;
3441        die $@ if $@;
3442        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
3443        die $_tt_error if $_tt_error;
5430        die $@ if $@;
5431        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
5432        die $_tt_error if $_tt_error;
6395        die $@ if $@;
6396        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;
6397        die $_tt_error if $_tt_error;
user-error.html.tmpl https://github.com/andywiens/Bugzilla-Custom-CAS.git | Unknown | 1,799 lines
24  # header_done: boolean. True if the Bugzilla header has already been printed.
25  # error: string. The tag of the error, or the error message to be displayed
26  # (deprecated). May contain HTML if it's an error message.
29[%# This is a list of all the possible user errors. Please keep them in
30  # alphabetical order by error tag, and leave a blank line between errors.
31  #
1706
1707[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
1708[% USE Bugzilla %]
1708[% USE Bugzilla %]
1709[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
1710  [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %]
1728  <tr>
1729    <td id="error_msg" class="throw_error">
1730      [% error_message FILTER none %]
error-handling.md https://github.com/paulstansifer/rust.git | Markdown | 2,164 lines
47    * [Writing the logic](#writing-the-logic)
48    * [Error handling with `Box<Error>`](#error-handling-with-boxerror)
49    * [Reading from stdin](#reading-from-stdin)
1051The standard library defines two integral traits for error handling:
1052[`std::error::Error`](../std/error/trait.Error.html) and
1053[`std::convert::From`](../std/convert/trait.From.html). While `Error`
1984provide a couple `From` impls. How do we know which impls to provide? Well,
1985we'll need to convert from both `io::Error` and `csv::Error` to `CliError`.
1986Those are the only external errors, so we'll only need two `From` impls for
2129  and
2130  [`Error`](../std/error/trait.Error.html)
2131  impls to make the [`try!`](../std/macro.try!.html)
2134  error type and implement the
2135  [`std::error::Error`](../std/error/trait.Error.html)
2136  trait. Where appropriate, implement
error.xml https://gitlab.com/WiSaGaN/api-ctp.git | XML | 216 lines
2<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by wangzhaodong (ORiON) -->
3<!DOCTYPE errors SYSTEM "error.dtd">
4<errors>
116	<!--ת��ϵͳ�������� -->
117	<error id="SEND_INSTITUTION_CODE_ERROR" value="1000" prompt="CTP:����ת�ˣ����ͻ�����������"/>
118	<error id="NO_GET_PLATFORM_SN" value="1001" prompt="CTP:����ת�ˣ�ȡƽ̨��ˮ�Ŵ���"/>
139  <error id="NOT_IN_TRANSFER_TIME" value="1022" prompt="CTP:����ת�ˣ���һʱ���β���ת��"/>  
140  <error id="BANK_SERVER_ERROR" value="1023" prompt="����������"/>  
141  <error id="BANK_SERIAL_IS_REPEALED" value="1024" prompt="CTP:����ת�ˣ������Ѿ�����"/>  
159  <error id="OPEN_ACCOUNT_NOT_DEFAULT_ACCOUNT" value="1042" prompt="CTP:����ת�ˣ��������������п��ź�Ԥ�����˺Ų�ͬ"/>
160  <error id="BANK_SYSTEM_INTERNAL_ERROR" value="1043" prompt="����ϵͳ�ڲ�����"/>
161<!-- add for transfer begin -->
193  <error id="FBE_NOT_IN_TRANSFER_TIME" value="3022" prompt="CTP:���ڻ��㣺��һʱ���β��ܻ���"/>  
194  <error id="FBE_BANK_SERVER_ERROR" value="3023" prompt="CTP:���ڻ��㣺����������"/>  
195  <error id="FBE_NOT_ORGAN_MAP" value="3026" prompt="CTP:���ڻ��㣺����û��ǩԼ"/>
localhost-error.log https://gitlab.com/galpratama/skp-reloaded.git | Unknown | 269 lines
1[Thu Apr 03 22:43:24 2014] [error] [client 127.0.0.1] client denied by server configuration: D:/kerja/php/kab_bdg/EIS/
2[Thu Apr 03 22:43:24 2014] [error] [client 127.0.0.1] client denied by server configuration: D:/kerja/php/kab_bdg/EIS/favicon.ico
2[Thu Apr 03 22:43:24 2014] [error] [client 127.0.0.1] client denied by server configuration: D:/kerja/php/kab_bdg/EIS/favicon.ico
3[Thu Apr 03 22:44:02 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/favicon.ico
4[Thu Apr 03 22:47:47 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/images, referer: http://eis/
4[Thu Apr 03 22:47:47 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/images, referer: http://eis/
5[Thu Apr 03 22:47:48 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
6[Thu Apr 03 22:47:48 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
6[Thu Apr 03 22:47:48 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
7[Thu Apr 03 22:47:48 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
8[Thu Apr 03 23:02:43 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
8[Thu Apr 03 23:02:43 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
9[Thu Apr 03 23:02:43 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
10[Thu Apr 03 23:02:43 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
10[Thu Apr 03 23:02:43 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
11[Thu Apr 03 23:03:51 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
12[Thu Apr 03 23:03:51 2014] [error] [client 127.0.0.1] File does not exist: D:/kerja/php/kab_bdg/EIS/static/css/fonts, referer: http://eis/
Error.h git://github.com/earl/llvm-mirror.git | C Header | 1,351 lines
422/// ErrorInfo(s), if any, contained in E2.
423inline Error joinErrors(Error E1, Error E2) {
424  return ErrorList::join(std::move(E1), std::move(E2));
555#endif
556    return HasError ? Error(std::move(*getErrorStorage())) : Error::success();
557  }
1099class ECError : public ErrorInfo<ECError> {
1100  friend Error errorCodeToError(std::error_code);
1101
1127/// Helper for converting an std::error_code to a Error.
1128Error errorCodeToError(std::error_code EC);
1129
1133/// will trigger a call to abort().
1134std::error_code errorToErrorCode(Error Err);
1135
SK8-error-system.lisp https://bitbucket.org/pablomarx/sk8r | Lisp | 392 lines
270           ("GeneralError"                 SK8:Error             simple-error)
271           ("ScriptSyntaxError"            SK8:Error             simple-error)
272           ("ArithmeticError"              SK8:Error             arithmetic-error)
272           ("ArithmeticError"              SK8:Error             arithmetic-error)
273           ("ProgrammaticError"            SK8:GeneralError      simple-error)
274           ("GeneralProgrammaticError"     SK8:ProgrammaticError simple-error)
275           ("DisposedObjectError"          SK8:ProgrammaticError simple-error)
276           ("EventModeError"               SK8:ProgrammaticError simple-error)
277           ("TypeMismatchError"            SK8:ProgrammaticError type-error)
277           ("TypeMismatchError"            SK8:ProgrammaticError type-error)
278           ("PropertyTypeMismatchError"    SK8:TypeMismatchError type-error)
279           ("ArgumentTypeMismatchError"    SK8:TypeMismatchError type-error)
323           ("MovieSequenceGrabberError"    SK8:MovieError        simple-error)
324           ("MovieControllerError"         SK8:MovieError        simple-error))
325      doing (new (symbol-value from-obj) :project sk8 :objectname name :mcl-error-class mcl-error))
user-error.html.tmpl https://bitbucket.org/thejeshgn/kindle-fire | Unknown | 1,683 lines
23  # header_done: boolean. True if the Bugzilla header has already been printed.
24  # error: string. The tag of the error, or the error message to be displayed
25  # (deprecated). May contain HTML if it's an error message.
28[%# This is a list of all the possible user errors. Please keep them in
29  # alphabetical order by error tag, and leave a blank line between errors.
30  #
1611
1612[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
1613[% USE Bugzilla %]
1613[% USE Bugzilla %]
1614[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
1615  [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %]
1633  <tr>
1634    <td id="error_msg" class="throw_error">
1635      [% error_message FILTER none %]
error.js https://bitbucket.org/nrg/cnda_xnat_prod_webapp | JavaScript | 365 lines
65   */
66  this.error_ = /** @type {!DOMError} */ (internalError);
67
98};
99goog.inherits(goog.db.Error.VersionChangeBlockedError, goog.debug.Error);
100
281 *
282 * @param {!goog.db.Error.ErrorCode|number} code The error code to convert.
283 * @return {!goog.db.Error.ErrorName} The corresponding name of the error.
328    // Chrome 22+.
329    var errorName = goog.db.Error.getName(request.errorCode);
330    return new goog.db.Error(
358    return new goog.db.Error(
359        /** @type {!DOMError} */ ({name: errorName}), errorMessage);
360  } else {
next-error.el https://bitbucket.org/kehoea/unicode-internal | Lisp | 286 lines
151   (if (and next-error-last-buffer
152            (next-error-buffer-p next-error-last-buffer avoid-current
153                                 extra-test-inclusive extra-test-exclusive))
201
202Once \\[next-error-framework-next-error] has chosen the buffer for error messages, it
203runs `next-error-hook' with `run-hooks', and stays with that buffer
235  (interactive "p")
236  (next-error-framework-next-error n t))
237
238(defun next-error-no-select (&optional n)
239  "Move point to the next error in the `next-error' buffer and highlight match.
240Prefix arg N says how many error messages to move forwards (or
245  (let ((next-error-highlight next-error-highlight-no-select))
246    (next-error-framework-next-error n))
247  (pop-to-buffer next-error-last-buffer))
next-error.el https://bitbucket.org/kehoea/xemacs-ffi | Lisp | 286 lines
151   (if (and next-error-last-buffer
152            (next-error-buffer-p next-error-last-buffer avoid-current
153                                 extra-test-inclusive extra-test-exclusive))
201
202Once \\[next-error-framework-next-error] has chosen the buffer for error messages, it
203runs `next-error-hook' with `run-hooks', and stays with that buffer
235  (interactive "p")
236  (next-error-framework-next-error n t))
237
238(defun next-error-no-select (&optional n)
239  "Move point to the next error in the `next-error' buffer and highlight match.
240Prefix arg N says how many error messages to move forwards (or
245  (let ((next-error-highlight next-error-highlight-no-select))
246    (next-error-framework-next-error n))
247  (pop-to-buffer next-error-last-buffer))
error.log https://bitbucket.org/jgivoni/vessel-3.0 | Unknown | 445 lines
15[Sat Mar 17 20:49:13 2012] [error] [client 192.168.0.11] PHP Fatal error:  Call to a member function setTitle() on a non-object in /media/sf_webdev/vessel-application/controllers/tasks/NewTaskController.php on line 10
16[Sat Mar 17 20:51:04 2012] [error] [client 192.168.0.11] PHP Fatal error:  Call to undefined method NewTaskController::setDbService() in /media/sf_webdev/vessel-application/controllers/tasks/NewTaskController.php on line 11
17[Sat Mar 17 20:51:26 2012] [error] [client 192.168.0.11] PHP Warning:  rename(/media/sf_webdev/vessel-application/cache/712f04e48fb0a16e5b9486005cb4f689fda58fd5.file.form.html.php): failed to open stream: Protocol error in /media/sf_webdev/vessel-application/libs/smarty/sysplugins/smarty_internal_write_file.php on line 48
38[Sat Mar 17 22:59:13 2012] [error] [client 192.168.0.11] PHP Notice:  Undefined index: description in /webdev/vessel-application/cache/e03c4490c3793fe66e342bbc5e133ee6825a15c3.file.form.html.php on line 57
39[Sat Mar 17 22:59:26 2012] [error] [client 192.168.0.11] PHP Fatal error:  Call to undefined method MysqlDatabaseAdapter::exec_query() in /webdev/vessel-application/models/TaskMapper.php on line 82, referer: http://vessapp.local/tasks/new
40[Sat Mar 17 23:29:50 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
40[Sat Mar 17 23:29:50 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
41[Sat Mar 17 23:29:50 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
42[Sat Mar 17 23:29:50 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
42[Sat Mar 17 23:29:50 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
43[Sat Mar 17 23:30:15 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
44[Sat Mar 17 23:30:16 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
44[Sat Mar 17 23:30:16 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
45[Sat Mar 17 23:30:16 2012] [error] [client 192.168.0.11] PHP Fatal error:  Interface 'Controller' not found in /webdev/vessel-application/controllers/NotFoundController.php on line 3
46[Thu Mar 29 12:27:30 2012] [error] [client 127.0.0.1] client denied by server configuration: /webdev/vessel-application/index.php
error.h https://bitbucket.org/wesc/ubuntu-xapian-backport | C++ Header | 979 lines
349    DatabaseError(const std::string &msg_, const std::string &context_, const char * error_string_)
350	: RuntimeError(msg_, context_, "DatabaseError", error_string_) {}
351    /** General purpose constructor.
390    DatabaseCorruptError(const std::string &msg_, const std::string &context_, const char * error_string_)
391	: DatabaseError(msg_, context_, "DatabaseCorruptError", error_string_) {}
392    /** General purpose constructor.
431    DatabaseCreateError(const std::string &msg_, const std::string &context_, const char * error_string_)
432	: DatabaseError(msg_, context_, "DatabaseCreateError", error_string_) {}
433    /** General purpose constructor.
472    DatabaseLockError(const std::string &msg_, const std::string &context_, const char * error_string_)
473	: DatabaseError(msg_, context_, "DatabaseLockError", error_string_) {}
474    /** General purpose constructor.
860    QueryParserError(const std::string &msg_, const std::string &context_, const char * error_string_)
861	: RuntimeError(msg_, context_, "QueryParserError", error_string_) {}
862    /** General purpose constructor.
glib-Error-Reporting.html https://bitbucket.org/ArminW/3p-glib | HTML | 1,026 lines
55<span class="returnvalue">void</span>                <a class="link" href="glib-Error-Reporting.html#g-error-free" title="g_error_free ()">g_error_free</a>                        (<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);
56<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> *            <a class="link" href="glib-Error-Reporting.html#g-error-copy" title="g_error_copy ()">g_error_copy</a>                        (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);
57<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Error-Reporting.html#g-error-matches" title="g_error_matches ()">g_error_matches</a>                     (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>,
221When implementing a function that can report errors, the basic tool is
222<a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a>. Typically, if a fatal error occurs you want to <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a>,
223then return immediately. <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a> does nothing if the error location passed
520          The last argument of a function that returns an error should be a
521          location where a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> can be placed (i.e. "<a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>** error").  If
522          <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> is used with varargs, the <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>** should be the last
550          of continuing. If you were able to continue, you should have cleared
551          the previous error with <a class="link" href="glib-Error-Reporting.html#g-clear-error" title="g_clear_error ()"><code class="function">g_clear_error()</code></a>. <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a> will complain
552          if you pile up errors.
755<a name="g-error-copy"></a><h3>g_error_copy ()</h3>
756<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> *            g_error_copy                        (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> *error</code></em>);</pre>
757<p>
glib-Error-Reporting.html https://bitbucket.org/kokua/3p-glib | HTML | 1,232 lines
298tool is <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a>. Typically, if a fatal error occurs you
299want to <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a>, then return immediately. <a class="link" href="glib-Error-Reporting.html#g-set-error" title="g_set_error ()"><code class="function">g_set_error()</code></a>
300does nothing if the error location passed to it is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
604<li class="listitem"><p>The last argument of a function that returns an error should
605be a location where a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> can be placed (i.e. "<a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>** error").
606If <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> is used with varargs, the <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>** should be the last
623<li class="listitem"><p>"Piling up" errors is always a bug. That is, if you assign a
624new <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> to a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>* that is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, thus overwriting
625the previous error, it indicates that you should have aborted
715                     <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>);</pre>
716<p>Creates a new <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>; unlike <a class="link" href="glib-Error-Reporting.html#g-error-new" title="g_error_new ()"><code class="function">g_error_new()</code></a>, <em class="parameter"><code>message</code></em>
717 is
832<pre class="programlisting"><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="returnvalue">GError</span></a> *
833g_error_copy (<em class="parameter"><code>const <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> *error</code></em>);</pre>
834<p>Makes a copy of <em class="parameter"><code>error</code></em>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21