Unit: EgStrParser
const
ERR_NONE = 0;
ERR_INVALID_FORMAT = 1;
ERR_INVALID_RANGE = 2;
ERR_LIST_SEPARATOR_CONFLICT = 3;
ERR_NULL_NOT_ALLOWED = 4;
ERR_EMPTY_NOT_ALLOWED = 5;
ERR_INVALID_RANGESEP = 6;
The values of TParseResult.ErrorCode.
| Constant | Value | Condition |
|---|---|---|
ERR_NONE |
0 | Success. |
ERR_INVALID_FORMAT |
1 | A token cannot be converted to the input type. |
ERR_INVALID_RANGE |
2 | The left bound of a range is greater than the right bound. |
ERR_LIST_SEPARATOR_CONFLICT |
3 | A list separator and the range separator in the same input. |
ERR_NULL_NOT_ALLOWED |
4 | opNotNull: a token became NULL. |
ERR_EMPTY_NOT_ALLOWED |
5 | opRequired: the input is empty. |
ERR_INVALID_RANGESEP |
6 | The range separator is a reserved character. |
The Demo edition also declares DEMO_MAX_INPUT_LENGTH.