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
Members list
Value members
Inherited methods
Attributes
- Definition Classes
-
Diagnostic -> Diagnostic
- Inherited from:
- Diagnostic
Attributes
- Inherited from:
- Diagnostic
Attributes
- Definition Classes
-
Diagnostic -> Diagnostic
- Inherited from:
- Diagnostic
Attributes
- Definition Classes
-
Diagnostic -> Diagnostic
- Inherited from:
- Diagnostic
Attributes
- Inherited from:
- Diagnostic
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 -> Any
- Inherited from:
- Diagnostic
Inherited fields
Attributes
- Inherited from:
- Diagnostic
In this article