public final class PrettyErrorFactory extends Object implements SoyError.Factory
SoyErrorKinds 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 |
|---|
PrettyErrorFactory(SnippetFormatter snippetFormatter) |
public PrettyErrorFactory(SnippetFormatter snippetFormatter)
public SoyError create(SourceLocation location, SoyErrorKind kind, Object... args)
create in interface SoyError.Factory