public abstract class SoyError extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SoyError.Factory
A factory for constructing Errors.
|
| Modifier and Type | Field and Description |
|---|---|
static SoyError.Factory |
DEFAULT_FACTORY
provides a default implementation for tests.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SoyErrorKind |
errorKind()
The error kind.
|
abstract SourceLocation |
location()
The location where the error occured.
|
abstract String |
message()
The error message.
|
String |
toString()
The full formatted error.
|
public static final SoyError.Factory DEFAULT_FACTORY
public abstract SourceLocation location()
public abstract SoyErrorKind errorKind()
public abstract String message()
This does not contain location information. Use toString() for a formatted message.