Error

scala.compiletime.testing.Error
final case class Error(message: String, lineContent: String, column: Int, kind: ErrorKind)

Represents a compile-time error.

Value parameters

column

the zero-based column position within lineContent where the error occurred

kind

the phase in which the error occurred, either ErrorKind.Parser or ErrorKind.Typer

lineContent

the source line containing the error

message

the error message produced by the compiler

Attributes

See also

scala.compiletime.testing.typeCheckErrors IMPORTANT: No stability guarantees are provided on the format of these errors. This means the format and the API may change from version to version. This API is to be used for testing purposes only.

Source
Error.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala