edmiSetErrorHandling
EdmiError edmiSetErrorHandling(SdaiInteger options);
Specifies whether the global error status, read by calls to the sdaiErrorQuery, shall be automatically reset prior to all EDMinterface function calls.
Arguments
Type | Name | Comment |
SdaiInteger | options | Specifies the options to be used in the invocation of the edmiSetErrorHandling function. All options are defined within the header file sdai.h . See detailed descriptions of the available options below. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Option | Comment |
---|---|
STANDARD_ERROR_HANDLING | The default mode. The global error status buffer will not be reset. I.e, an error code retrieved by the sdaiErrorQuery function could origin from any previous EDMinterface function call |
CLEAR_ERROR_CODE_BEFORE_EACH_OPERATION | The global error buffer will be reset prior to any EDMinterface function call. I.e, if an sdai Error Code is retrieved by sdaiErrorQuery, it origins from the last EDMinterface function call. |
Example
EdmiError rstat; . . . if (rstat = edmiSetErrorHandling(STANDARD_ERROR_HANDLING)) { printf("Error %d in edmiSetErrorHandling %s", rstat, edmiGetErrorText(rstat)); goto error; }
See also
Filter by label
There are no items with the selected labels at this time.