code: RenderException addStackTraceElement(TemplateNode template, SourceLocation location) {
      // Typically, this is fast since templates aren't that deep and we only do this in error
      // situations so performance matters less.
      soyStackTrace.add(template.createStackTraceElement(location));
      return this;
    }
docs: Add a partial stack trace element by specifying the source location of the soy file.