ACI API 24.1

# aciResponseGetErrorStatus

Call the `aciResponseGetErrorStatus` function to extract any error information from the response of an ACI server.

## Syntax

    aciError aciResponseGetErrorStatus(
       t_aciObject* pResult,
       t_aciErrorStatus* pError)

## Arguments

Arguments | Type/Description
--- | ---
`pResult` | `t_aciObject*` An ACI object that contains the result returned by an ACI server.
`pError` | `t_aciErrorStatus*` An ACI error status structure to hold the error information extracted.

## Discussion

This function extracts any error information from an ACI object that contains the result of a response by an ACI server. It extracts this information to an ACI error status structure.

## Returns

An ACI error code.

## Example

    t_aciErrorStatus* pErrorStatus = NULL;
    aciErrorStatusCreate(&pErrorStatus);
    aciResponseGetErrorStatus(pResult, pErrorStatus); if (
       pErrorStatus->eResponse != eResponseSuccess) {
       fprintf(stderr, "The error description is %s\n",
    pErrorStatus->szErrorDescription);
    }
    aciErrorStatusDestroy(&pErrorStatus);

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL ACI API 24.1

Topic Title: aciResponseGetErrorStatus