Try using INIT_PRAGMA
I'm giving an example
DECLARE
deadlock_detected EXCEPTION;
PRAGMA EXCEPTION_INIT(deadlock_detected, -60);
BEGIN
...
EXCEPTION
WHEN deadlock_detected THEN
-- handle the error
...
END;
|
Results 1 to 4 of 4
Thread: Changing Standard Error CodesThreaded View
|
Click Here to Expand Forum to Full Width |