<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - The tutorial should have a section on error handling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78140#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - The tutorial should have a section on error handling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78140">bug 78140</a>
from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
<pre>Uhm. Error replies from the server should be explained sufficently, I guess
(the whole deal with "checked vs unchecked errors").
For out of memory errors or I/O errors, the xcb_connection_t goes into an error
state. All function calls with it will fail and xcb_connection_has_error() can
tell you which error occured (there are some defines in xcb.h with a XCB_CONN_
prefix).
XCB never calls exit().
Would it be too much work for you to create a patch for the tutorial that adds
what you would have wanted to know? It should be available in git at
<a href="https://secure.freedesktop.org/cgit/xcb/">https://secure.freedesktop.org/cgit/xcb/</a> and clonable
fromgit://wiki.freedesktop.org/wiki/xcb.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>