TOOL_ERR.TOPERROR
built-in constantThis constant identifies the topmost error on the error stack.
TOOL_ERR.TOPERROR CONSTANT PLS_INTEGER;
/*
** Print top-most error on the stack. The same
** results are produced by calling TOOL_ERR.MESSAGE
** with no arguments.
*/
BEGIN
. . .
TEXT_IO.PUT_LINE(TOOL_ERR.MESSAGE(TOOL_ERR.TOPERROR));
. . .
END;
About the TOOL_ERR
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.