On 8/31/07, <b class="gmail_sendername">akira</b> &lt;<a href="mailto:nhytro-python@web.de">nhytro-python@web.de</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there!<br><br>Is there a list of Exceptions somewhere that I can programm against? For<br>example when a database throws an error about a field constraint being<br>unique, or cascading errors?</blockquote><div><br><br>
Hi akira. dbapi exceptions are all in storm.exceptions, as subclasses of DatabaseError. They will be raised whenever dbapi says they will be raised, according to Storm&#39;s usage (which unfortunately is not totally clear). Ideally the API documentation will include full information about what methods raise which exceptions. I&#39;ve been working on it gradually, but there&#39;s more to do. Patches accepted :-) But what we have so far is here: 
<a href="http://twistedmatrix.com/users/radix/storm-api/">http://twistedmatrix.com/users/radix/storm-api/</a><br></div></div><br clear="all"><br>-- <br>Christopher Armstrong<br>International Man of Twistery<br><a href="http://radix.twistedmatrix.com/">
http://radix.twistedmatrix.com/</a><br><a href="http://twistedmatrix.com/">http://twistedmatrix.com/</a><br><a href="http://canonical.com/">http://canonical.com/</a><br>