3 ms·
Typically, you have a parser handle and can use that to query it about various aspects of its state. Here it would include line number, character offset, and by
by fweimer 3y ago
Typically, you have a parser handle and can use that to query it about various aspects of its state. Here it would include line number, character offset, and byte offset. The type of error can be encoded in the error return value.