EagleDiagnostic class final
A stable, safely renderable problem found while parsing or loading Eagle.
Constructors
- EagleDiagnostic({required String code, required EagleDiagnosticSeverity severity, required EagleDocumentKind documentKind, required String jsonPointer, required String message, EaglePath? documentPath, Object? cause})
-
const
Properties
- cause → Object?
-
Optional debugging context, deliberately excluded from toString.
final
- code → String
-
Stable machine-readable identifier for the problem category.
final
- documentKind → EagleDocumentKind
-
final
- documentPath → EaglePath?
-
Library-relative location of the affected document, when known.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonPointer → String
-
RFC 6901-style location within the document; empty means its root.
final
- message → String
-
A safe message that must not contain raw document contents.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → EagleDiagnosticSeverity
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited