SourceCodeD4rtException class

Exception thrown when there's an issue with the source code itself, like parsing errors or missing files.

This exception indicates problems with the Dart source code being interpreted, such as syntax errors, missing imports, or invalid URIs.

Inheritance

Constructors

SourceCodeD4rtException(String message, [String? problematicCode])
Creates a new source code exception with the given message and optional code.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The error message.
finalinherited
problematicCode String?
The optional problematic code that caused the exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackedStackTrace StackTrace?
Stack trace captured by ErrorReporter when tracking is enabled.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revoke() bool
Revokes this error from the ErrorReporter.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited