UPDATE_ERROR_VARS_UDF (STRING, STRING, STRING, STRING, STRING, STRING)
Definition
This user-defined function (UDF) updates the error variables in an environment in order to know when the procedure throws an error.
Parameters
LINE
STRING
The line related to the error.
CODE
STRING
The error code associated with the error message.
STATE
STRING
The state of the error message.
MESSAGE
STRING
The message to be shown in the error.
PROC_NAME
STRING
The procedure name.
SEVERITY
STRING
The severity of the error.
Returns
Returns a string
value with the new error message information.
Usage example
Input:
Output:
Last updated