EngineErrorEvent class final

Error event dispatched when the engine cannot parse a sequence. This is for structural errors (malformed sequences, invalid state transitions).

Inheritance
Annotations
  • @immutable

Constructors

EngineErrorEvent(List<String> params, {String char = '', List<int> block = _blankArray, String message = '', EngineErrorType type = EngineErrorType.malformedSequence, List<int> rawBytes = _blankArray, String stateAtError = '', int? failingByte, List<String> partialParameters = const []})
Constructs a new instance of EngineErrorEvent.
const

Properties

block List<int>
The block content if there is one
final
char String
The character if there is one
final
failingByte int?
The specific byte that triggered the error
final
hashCode int
The hash code for this object.
no setteroverride
message String
Error message describing what went wrong
final
params List<String>
The parameters of the sequence.
final
partialParameters List<String>
Parameters collected before error occurred
final
rawBytes List<int>
Raw bytes that caused the error (full sequence bytes accumulated)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateAtError String
Parser state when error occurred
final
type EngineErrorType
Type of error that occurred
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.
override