RefactoringError class

Thrown when a refactoring operation fails.

Inheritance

Constructors

RefactoringError(String message, {Object? cause, String? filePath, int? lineNumber})
const

Properties

cause Object?
The underlying error that triggered this exception, if any.
finalinherited
code String
Machine-readable error code for programmatic handling.
no setteroverride
filePath String?
The file being refactored.
final
hashCode int
The hash code for this object.
no setterinherited
lineNumber int?
The line number where the error occurred.
final
message String
Human-readable error description.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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