[Zope-dev] Trapping Interbase Error Codes
Dieter Maurer
dieter@handshake.de
Fri, 8 Mar 2002 20:58:40 +0100
Beverly Dolor writes:
> I'm currently doing a program on Zope 2.5 using gvibDa
> as my database. I would like my program to trap
> Interbase error codes such as (isc_deadlock,
> isc_lock_conflict), the problem is I'm still at a lost
> on how to do this.
How are these errors shown to you?
I do not know Interbase and the corresponding adapters.
For Oracle (DCOracle2), Oracle errors are mapped onto a standard
exception, but the exception detail contains the Oracle error number.
Thus, looking at this number, I would be able to provide
error specific information.
Dieter