Go to the source code of this file.
◆ ERROR_CODE
| #define ERROR_CODE |
( |
| name, |
|
|
| val ) |
◆ ion_error_code
define the Ion error code enumeration.
| Enumerator |
|---|
| IERR_MAX_ERROR_CODE | Unexpected end of stream. E.g. reader reached EOF before closing struct } Usually caused by invalid application calling sequence. E.g. read_int when get_type returns string. Usually caused by invalid application calling sequence. E.g. read_int when is_null is true. Invalid Ion syntax during parsing Ion text input. Corrupted binary data (not comforms to Ion spec. Container nesting exceeded the configured max_container_depth, or exceeded ION_MAX_RECURSION_DEPTH within one of the library's recursive helpers.
|
◆ ion_error_to_str()
| ION_API_EXPORT const char * ion_error_to_str |
( |
iERR | err | ) |
|
Gets a static string representation of an error code.