public final class ErrorPrettyPrinter extends Object
SoySyntaxExceptions in a useful way, with a snippet of Soy source code
containing the error and a caret pointing at the exact place where the error was found.| Constructor and Description |
|---|
ErrorPrettyPrinter(List<SoyFileSupplier> suppliers) |
| Modifier and Type | Method and Description |
|---|---|
void |
print(SoySyntaxException e,
PrintStream err)
Displays
e on the given PrintStream in a useful way, with a snippet
of Soy source code containing the error and a caret pointing at the exact place where the error
was found. |
public ErrorPrettyPrinter(List<SoyFileSupplier> suppliers)
public void print(SoySyntaxException e, PrintStream err)
e on the given PrintStream in a useful way, with a snippet
of Soy source code containing the error and a caret pointing at the exact place where the error
was found.