[stringtemplate-interest] Error messages with absolute line numbers
Jose San Leandro
jose.sanleandro at ventura24.es
Tue Jun 26 01:44:11 PDT 2007
Hi,
I would like to know if there's a way to make StringTemplate provide more
detailed error messages than the default. The problem is when eventually I
mistype anything, I get errors like this:
[queryj] StringTemplate: error: template parse error: line 6:54: unexpected
token: null
However, the line information is relative to the start of the rule, which is
defined in a file OR the parent group. So I find it difficult to find out the
exact location of the error.
is it possible to customize the error message output to provide more detailed
information?
Thanks,
Jose.
More information about the stringtemplate-interest
mailing list