15.26 HAS_ERROR Function

This function returns the when DML execution led to an error and false, when not.

Syntax

FUNCTION HAS_ERROR(
    p_context    IN t_context)   RETURN BOOLEAN;
    

Parameters

Table 15-24 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.