From: Dan P. <da...@ag...> - 2006-05-31 18:56:06
|
On Wednesday 31 May 2006 21:28, Oleg Broytmann wrote: > On Wed, May 31, 2006 at 04:06:58PM +0300, Dan Pascu wrote: > > However the code can raise exceptions from the backend (for example > > connection errors, or integrity errors when duplicate rows are > > inserted) In such a case I get exceptions like: > > > > _mysql_exceptions.OperationalError > > _mysql_exceptions.IntegrityError > > _sqlite.IntegrityError > > _sqlite.DatabaseError > > ... > > There is an item in the TODO to unify exceptions. But nobody's > working on it now. Do you want to be the one? I'd love to say yes on this, but unfortunately time availability is an issue. Right now my time is completely dedicated to a work project with tight deadlines so all I can contribute are fixes for problems I'll encounter while using sqlobject in this project. Also I just started using sqlobject so I'm not at all familiar with the internal design to be able to quickly devise a solution for this and implement it. However as I'll become more familiar with the sqlobject internals and as time permits I'll check to see what I can do about this, but don't take it as a commitment. > > Oleg. -- Dan |