|
EDCS Reference Manual
Types EDCS_Status_Code |
|---|
/* * REGISTERABLE ENUM: EDCS_Status_Code * * This data type is used to specify error conditions for all EDCS * functions that can fail and that retrieve dictionary information * from various EDCS dictionaries. */ typedef EDCS_Integer EDCS_Status_Code;
| Enumerant | Definition | Value |
|---|---|---|
| EDCS_SC_INVALID_INPUT_SYMBOLIC_CONSTANT | An invalid "symbolic constant" was encountered for the given dictionary. |
-3 |
| EDCS_SC_INVALID_INPUT_LABEL | An invalid label was encountered for the given dictionary. |
-2 |
| EDCS_SC_INVALID_INPUT_CODE | An invalid code was encountered for the given dictionary. |
-1 |
| EDCS_SC_NULL_REQUIRED_PARAMETER | A NULL value was passed in for a required parameter. |
0 |
| EDCS_SC_SUCCESS | Operation succeeded. |
1 |
| EDCS_SC_INVALID_INPUT_UNIT | An invalid unit was passed in for a required input parameter, the source unit in which a given quantity is defined. |
2 |
| EDCS_SC_INVALID_OUTPUT_UNIT | An invalid unit was passed in for a required input parameter, the destination unit in which a given quantity is to be expressed. |
3 |
| EDCS_SC_INVALID_INPUT_SCALE | An invalid scale was passed in for a required input parameter, the source scale in which a given quantity is defined. |
4 |
| EDCS_SC_INVALID_OUTPUT_SCALE | An invalid scale was passed in for a required input parameter, the destination scale in which a given quantity is to be expressed. |
5 |
| EDCS_SC_UNITS_NOT_EQUIVALENT | An attempted conversion of a quantity from one unit and scale to a different unit and scale failed because the units did not belong to the same equivalence class (EQ). |
6 |
| EDCS_SC_INVALID_INPUT_ENUMERATED_ATTRIBUTE | An invalid "enumerated attribute" was encountered for the given dictionary. |
7 |
| EDCS_SC_INVALID_INPUT_GROUP | An invalid "group" was encountered for the given dictionary. |
8 |
| EDCS_SC_INVALID_INPUT_DICTIONARY | An invalid "dictionary" was encountered |
9 |
| EDCS_SC_OTHER_FAILURE | An error condition occurred that is not covered by a more specific status code. |
10 |
|