22.29 HAS_ERROR Function

This function returns TRUE when DML execution led to an error and FALSE when not.

Syntax

APEX_EXEC.HAS_ERROR(
    p_context               IN t_context)
    return boolean;
    

Parameters

Table 22-27 APEX_EXEC.HAS_ERROR Function Parameters

Parameter Description

p_context

Context object obtained with one of the OPEN_ functions.

Returns

true, if an error occurred, false otherwise.