CapabilityFailureKind enum

WHY a capability's turn failed — the engine-owned discriminant that replaces the transitional boolean on Failed.

A capability can only report these three. StepFailureClass.storeUnavailable is a HOST observation (a dropped chokepoint write) and is never emitted by a capability.

Inheritance
Available extensions

Values

work → const CapabilityFailureKind

The capability RAN and produced a valid NEGATIVE result (a critic that graded F, a build that failed). The only kind that counts as substantive failed work.

noResult → const CapabilityFailureKind

No usable result or artifact was produced at all.

invalidResult → const CapabilityFailureKind

A result/artifact exists but violates the capability's declared contract.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CapabilityFailureKind>
A constant List of the values in this enum, in order of their declaration.