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.