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 Type
    Method
    Description
    Returns 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

      Optional<Integer> getLinePosition()
      Returns the zero-based line position within the solution code associated with the error. This method may return an empty optional when no line position is available.
      Returns:
      zero-based line position