Class: NotActionableError
@termwright/driver / NotActionableError
Class: NotActionableError
Section titled “Class: NotActionableError”Defined in: driver/src/errors.ts:126
The capability exists, but the target cannot currently satisfy the action.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NotActionableError(
message,diagnostics,transient?):NotActionableError
Defined in: driver/src/errors.ts:130
Parameters
Section titled “Parameters”message
Section titled “message”string
diagnostics
Section titled “diagnostics”transient?
Section titled “transient?”"pointer-region" | "target-state" | "covered" | null
Returns
Section titled “Returns”NotActionableError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”actionability?
Section titled “actionability?”
optionalactionability?:ActionabilityExplanation
Defined in: driver/src/errors.ts:22
Inherited from
Section titled “Inherited from”
readonlycode:TermwrightErrorCode
Defined in: driver/src/errors.ts:20
Inherited from
Section titled “Inherited from”diagnostics
Section titled “diagnostics”
readonlydiagnostics:ErrorDiagnostics
Defined in: driver/src/errors.ts:21
Inherited from
Section titled “Inherited from”transient
Section titled “transient”
readonlytransient:"pointer-region"|"target-state"|"covered"|null
Defined in: driver/src/errors.ts:128
Only these planner facts may become actionable on a later committed observation.
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: driver/src/errors.ts:38
Renders message + diagnostics the way test runners print failures.
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”withActionability()
Section titled “withActionability()”withActionability(
explanation):this
Defined in: driver/src/errors.ts:32
Attach the exact failed planner evaluation; never recomputed after state changes.
Parameters
Section titled “Parameters”explanation
Section titled “explanation”Returns
Section titled “Returns”this