code: public static ErrorReporter create(Map<String, SoyFileSupplier> filePathsToSuppliers) {
      return new ErrorReporterImpl(ImmutableMap.copyOf(filePathsToSuppliers));
    }
docs: Creates a new ErrorReporter which can create source snippets from the given files.