Interface ISolutionErrorModel
- All Known Implementing Classes:
ImmutableSolutionErrorModel
public interface ISolutionErrorModel
Holds details about an error in user's solution to a
problem.- Author:
- Erik Zemčík
-
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the error.Returns the zero-based line position within the solution code associated with the error.
-
Method Details
-
getDescription
String getDescription()Returns the description of the error.- Returns:
- description of the error
-
getLinePosition
Returns the zero-based line position within the solution code associated with the error. This method may return an emptyoptionalwhen no line position is available.- Returns:
- zero-based line position
-