Open topic with navigation

# 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);

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm