FlowFailure<PayloadType> class
A semantic failure reported by a FlowScoreboard.
Constructors
- FlowFailure({required String id, required String endpoint, required String message, int? cycle, PayloadType? expected, PayloadType? actual})
-
Creates a scoreboard failure.
const
Properties
- actual → PayloadType?
-
Actual payload, when available.
final
- cycle → int?
-
Cycle associated with the failure, when available.
final
- endpoint → String
-
Endpoint associated with the failure.
final
- expected → PayloadType?
-
Expected payload, when available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable failure identifier.
final
- message → String
-
Human-readable failure description.
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