Defines a generic error you can raise to indicate that one or more errors have been pushed onto the error stack.
Tool_Err.Tool_Error EXCEPTION;
/*
** Raise a generic internal error if a function
** argument is out of range.
*/
PROCEDURE my_proc(count PLS_INTEGER) IS
BEGIN
IF (count < 0) THEN
RAISE TOOL_ERR.TOOL_ERROR;
END IF;
. . .
END;