A hint as to why the parse failed. Defaults to "",
unless you set verboseFailures = true
or call
.trace()
on an existing failure
The index at which the parse failed
Metadata about the parse; useful for re-running the parse to trace out a more detailed error report
Metadata about the parse; useful for re-running the parse to trace out a more detailed error report
The index at which the parse failed
A hint as to why the parse failed.
A hint as to why the parse failed. Defaults to "",
unless you set verboseFailures = true
or call
.trace()
on an existing failure
Displays the failure message including the parse stack, if possible
Displays the failure message excluding the parse stack
Re-runs the failed parse with verboseFailures
turned on and failure
aggregation enabled.
Re-runs the failed parse with verboseFailures
turned on and failure
aggregation enabled. This allows Fastparse to provide much more
detailed error messages, at a cost of taking ~2x as long than the
original parse.
By default, logging is disabled during the tracing run; this is because
you typically already saw the logging output during the primary parse,
and the tracing run's log output should be identical. You can pass in
enableLogging = true
to log the tracing run as well.
The outcome of a failed parse