public abstract class SoyError extends Object implements Comparable<SoyError>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SoyError o) |
abstract SoyErrorKind |
errorKind()
The error kind.
|
abstract boolean |
isWarning()
Whether or not this error should be considered a warning (i.e., don't fail the build).
|
abstract SourceLocation |
location()
The location where the error occurred.
|
abstract String |
message()
The error message.
|
String |
toString()
The full formatted error.
|
public abstract SourceLocation location()
public abstract SoyErrorKind errorKind()
public abstract String message()
This does not contain location information. Use toString() for a formatted message.
public abstract boolean isWarning()
public int compareTo(SoyError o)
compareTo in interface Comparable<SoyError>