Property
error
Error description.
Since v1.0
struct judo_stream {
char error[JUDO_ERRMAX];
}
Discussion 🔗
If an error occurs during scanning, this buffer is populated with a null-terminated UTF-8 encoded description of the error in US English. For example, if an object was declared with a missing closing brace character, then judo_scan will return JUDO_BAD_SYNTAX and this buffer will be populated with the error message. If no error occurs, then the buffer will be empty.