Share this page

# lrt_Fstrerror32

Error Processing Functions

Retrieves the error message string for FML error.

char *lrt_Fstrerror32( int err );

err | The FML error code.

The lrt_Fstrerror32 function retrieves the error message string corresponding to the FML error code.

## Return Values

If the function succeeds, it returns a pointer to the message string. If err is an invalid error code, the function returns NULL.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

In the following example, the lrt_Fstrerror function retrieved the error message string represented by the rc error code. The example for lrt_Fstrerror32 is identical except for the function name.

Copy code

    int rc;
    lr_output_message("id is %s", lrt_Fname(8302));
    lr_output_message("name is %d", lrt_Fldid("ACCOUNT_ID"));
    lr_output_message("name is %d", lrt_Fldid("ACCOUNT_IDS"));
    rc = lrt_getFerror();
    lr_output_message("error code is %d", rc);
    lr_output_message("error message is %s", lrt_Fstrerror(rc));

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: