StickyError

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

A sticky error is an error that should not be hidden by backtracking and trying some alternative path. Typically, errors issued after catching a TypeError exception are sticky.

Attributes

Graph
Supertypes
class Error
class Diagnostic
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

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