Error

dotty.tools.dotc.reporting.Diagnostic$.Error
class Error(msg: Message, pos: SourcePosition) extends Diagnostic

Attributes

Graph
Supertypes
class Diagnostic
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class StickyError

Members list

Value members

Constructors

def this(str: => String, pos: SourcePosition)

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
override def getMessage(): String

Attributes

Definition Classes
Inherited from:
Diagnostic

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Diagnostic
override def message: String

Attributes

Definition Classes
Diagnostic -> Diagnostic
Inherited from:
Diagnostic
override def position: Optional[SourcePosition]

Attributes

Definition Classes
Diagnostic -> Diagnostic
Inherited from:
Diagnostic

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def setVerbose(): Diagnostic.this.type

Attributes

Inherited from:
Diagnostic
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Diagnostic -> Throwable -> Any
Inherited from:
Diagnostic

Inherited fields

val level: Int

Attributes

Inherited from:
Diagnostic