Interface CodeError.Builder

    • Method Detail

      • errorType

        CodeError.Builder errorType​(String errorType)

        The type of code error.

        Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

        Parameters:
        errorType - The type of code error.

        Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        CodeError.Builder value​(String value)

        A user presentable error.

        Examples include, but aren't limited to: Parsing error: Unterminated string literal.

        Parameters:
        value - A user presentable error.

        Examples include, but aren't limited to: Parsing error: Unterminated string literal.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        CodeError.Builder location​(CodeErrorLocation location)

        The line, column, and span location of the error in the code.

        Parameters:
        location - The line, column, and span location of the error in the code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.