A script-enabled browser is required for this page to function properly.

TOOL_ERR.TOPERROR built-in constant

This constant identifies the topmost error on the error stack.

Syntax


TOOL_ERR.TOPERROR CONSTANT PLS_INTEGER;

Example


 /*
  ** 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;

See also

About the TOOL_ERR built-in package

TOOL_ERR built-in package