Subject [Firebird-Architect] user error code
Author Adrian Allende
Hi

GDSCODE and SQLCODE returns error codes, but user defined EXCEPTIONs are not returned.
This is very frustrating, because it is impossible to log errors.
Why SQLCODE or GDSCODE does not return user defined errors?
IT is possible to create another variable, say USERCODE ?
There is a workaround to catch and log user exceptions currently?

Thanks