Run-time error status codes.
This is a list of status codes that can be returned by the ASN1C run-time functions and generated code. More...Defines | |
| #define | XML_OK_EOB 0x7fffffff |
| End of block marker. | |
| #define | XML_OK_FRAG XML_OK_EOB |
| Maintained for backward compatibility. | |
| #define | XML_E_BASE -200 |
| Error base. | |
| #define | XML_E_GENERR (XML_E_BASE) |
| General error. | |
| #define | XML_E_INVSYMBOL (XML_E_BASE-1) |
| Invalid symbol is detected. | |
| #define | XML_E_TAGMISMATCH (XML_E_BASE-2) |
| Start-end XML tags mismatch. | |
| #define | XML_E_DUPLATTR (XML_E_BASE-3) |
| Duplicate attribute found. | |
| #define | XML_E_BADCHARREF (XML_E_BASE-4) |
| Bad character reference found. | |
| #define | XML_E_INVMODE (XML_E_BASE-5) |
| Invalid mode. | |
| #define | XML_E_UNEXPEOF (XML_E_BASE-6) |
| Unexpected end of file (document). | |
| #define | XML_E_NOMATCH (XML_E_BASE-7) |
| Current tag is not matched to specified one. | |
| #define | XML_E_ELEMMISRQ (XML_E_BASE-8) |
| Missing required element. | |
| #define | XML_E_ELEMSMISRQ (XML_E_BASE-9) |
| Missing required elements. | |
| #define | XML_E_TOOFEWELEMS (XML_E_BASE-10) |
| minOccurs is not reached. | |
| #define | XML_E_UNEXPSTARTTAG (XML_E_BASE-11) |
| Unexpected start tag. | |
| #define | XML_E_UNEXPENDTAG (XML_E_BASE-12) |
| Unexpected end tag. | |
Detailed Description
This is a list of status codes that can be returned by the ASN1C run-time functions and generated code.
In many cases, additional information and parameters for the different errors are stored in the context structure at the time the error in raised. This additional information can be output using the rtxErrPrint or rtxErrLogUsingCB run-time functions.
Define Documentation
|
|
Error base. XML specific errors start at this base number to distinguish them from common and other error types. Definition at line 55 of file rtXmlErrCodes.h. |
|
|
Missing required element. This status code is returned by the decoder when the decoder knows exactly which element is absent. Definition at line 101 of file rtXmlErrCodes.h. |
|
|
Missing required elements. This status code is returned by the decoder when the number of elements decoded for a given content model group is less then the required number of elements as specified in the schema. Definition at line 108 of file rtXmlErrCodes.h. |
|
|
Current tag is not matched to specified one. Informational code. Definition at line 95 of file rtXmlErrCodes.h. |
|
|
Start-end XML tags mismatch. Fatal error. Definition at line 70 of file rtXmlErrCodes.h. |
