25.12 INIT_ERROR_RESULT Function

This function returns the t_error_result type initialized with the values stored in p_error.

Note:

This function must be used to ensure initialization is compatible with future changes to t_error_result.

Syntax

APEX_ERROR.INIT_ERROR_RESULT (
    p_error  IN t_error)
    RETURN   t_error_result;

Parameters

Parameters Description
p_error The p_error parameter of your error handling function.

Example

See an example of how to use this function in Example of an Error Handling Function.