Diagnostic

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

Attributes

Companion
object
Graph
Supertypes
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Error
class StickyError
class Info
class Warning
Show all

Members list

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
final def getSuppressed(): Array[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
val msg: Message