Oracle9iAS Portal Developer Kit

get_top function

Contained in package wwerr_api_error.

Call this function to return the uppermost entry in the error stack. Error handling routines can use this information to take specific corrective action or to provide their own UI, such as placing the error on a status line.

function get_top
return error_record;

Version: Oracle Portal 3.0.6.6.5 or later

Returns:

This function returns the topmost error on the error stack.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_error_rec wwerr_api_error.error_record;

l_error_rec := wwerr_api_error.get_top;

wwerr_api_error.get_top;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio