[DB-SIG] db module wrapper

Kevin Jacobs jacobs at theopalgroup.com
Sat Aug 21 00:28:06 CEST 2004


Randall Smith wrote:

> On a separate topic, got any ideas on how to abstract exceptions?  If 
> someone has already figured out an easy way to do this, I sure would 
> appreciate the knowledge.
>
Yes.  I've posted my method for completely virtualizing
DB-API exceptions here no less than 4 times over the
years.  Do yourself a favor and spend some time in the
archives.  You'll be pleasantly surprised at how many
of your ideas will have been previously addressed,
many with working code, important test cases, and
useful discussion.

-Kevin



More information about the DB-SIG mailing list