psycopg <fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx> writes:
[...]
> Interesting. I don't like that much to have the error code in the message
> but until I find a better place to put it the message will be fine.
can't we have the error code in an attribute of the exception object,
or as part of the args list? (for example, IOError has additional
attributes filename, strerror and errno, and args is (errno,
strerror)).
If I misunderstood something please ignore this post, I didn't follow
the discussion closely :-)
ciao
Andreas
|