On 8/31/07, akira <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> Is there a list of Exceptions somewhere that I can programm against? For
> example when a database throws an error about a field constraint being
> unique, or cascading errors?



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's usage (which unfortunately is not totally clear).
Ideally the API documentation will include full information about what
methods raise which exceptions. I've been working on it gradually, but
there's more to do. Patches accepted :-) But what we have so far is here:
http://twistedmatrix.com/users/radix/storm-api/


-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to