public override void VisitError(RazorError err) { err.ThrowIfNull("err"); if (_throwExceptionOnParserError) { throw new TemplateParsingException(err); } }