ParseError class
Structured error information produced by parse helpers.
Constructors
- ParseError({required String message, int? position, Object? exception})
-
Creates an error with a human-readable
messageand optional failurepositionwithin the input and originalexception.const
Properties
- exception → Object?
-
Original exception that was raised internally, useful for debugging.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description of the failure.
final
- position → int?
-
Optional character position in the input where parsing failed.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited