pps_decoder_error_t
The values enumerated by pps_decoder_error_t define the errors
that can be returned by the PPS decoder functions. These values include:
- PPS_DECODER_OK — no error occurred.
- PPS_DECODER_NO_MEM — an error occurred while allocating memory
during the parsing operation.
- PPS_DECODER_BAD_TYPE — there was a request for the wrong type of data.
- PPS_DECODER_NOT_FOUND — the requested item wasn't found.
- PPS_DECODER_PARSE_ERROR — an error occurred while parsing JSON-encoded data.
- PPS_DECODER_DELETED — the requested item was deleted.
- PPS_DECODER_CONVERSION_FAILED — a numeric conversion was out of range or
would result in a loss of precision.
- PPS_DECODER_POP_AT_ROOT — a call was made to pps_decoder_pop()
while at the root of the tree (that is, there is nothing to pop to).