27.40 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

Parameter Description
p_context Context object obtained with one of the OPEN_ functions.

Returns

TRUE if an error occurred, otherwise FALSE.