Diagnostic

dotty.tools.dotc.reporting.Diagnostic
See theDiagnostic companion object
class Diagnostic(val msg: Message, val pos: SourcePosition, val level: Int) extends Exception with Diagnostic

Attributes

Companion:
object
Graph
Supertypes
trait Diagnostic
class Exception
class Throwable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

override def getMessage(): String

Attributes

Definition Classes
override def message: String

Attributes

Definition Classes
Diagnostic
override def position: Optional[SourcePosition]

Attributes

Definition Classes
Diagnostic
def setVerbose(): Diagnostic.this.type
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
Throwable -> Any

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Concrete fields

val level: Int