Package com.io7m.changelog.parser.api
Interface CParseErrorType
- All Known Implementing Classes:
CParseError
@Immutable
public interface CParseErrorType
The type of parse errors.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCParseErrorType.SeverityThe severity of the error. -
Method Summary
Modifier and Type Method Description java.util.Optional<java.lang.Exception>exception()com.io7m.jlexing.core.LexicalPosition<java.net.URI>lexical()java.lang.Stringmessage()CParseErrorType.Severityseverity()
-
Method Details
-
lexical
@Parameter com.io7m.jlexing.core.LexicalPosition<java.net.URI> lexical()- Returns:
- The lexical position of the error
-
severity
- Returns:
- The severity of the error
-
message
@Parameter java.lang.String message()- Returns:
- The error message
-
exception
@Parameter java.util.Optional<java.lang.Exception> exception()- Returns:
- The exception raised, if any
-