Skip to content

Class: NotActionableError

@termwright/driver


@termwright/driver / NotActionableError

Defined in: driver/src/errors.ts:126

The capability exists, but the target cannot currently satisfy the action.

new NotActionableError(message, diagnostics, transient?): NotActionableError

Defined in: driver/src/errors.ts:130

string

ErrorDiagnostics

"pointer-region" | "target-state" | "covered" | null

NotActionableError

TermwrightError.constructor

optional actionability?: ActionabilityExplanation

Defined in: driver/src/errors.ts:22

TermwrightError.actionability


readonly code: TermwrightErrorCode

Defined in: driver/src/errors.ts:20

TermwrightError.code


readonly diagnostics: ErrorDiagnostics

Defined in: driver/src/errors.ts:21

TermwrightError.diagnostics


readonly transient: "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.

toString(): string

Defined in: driver/src/errors.ts:38

Renders message + diagnostics the way test runners print failures.

string

TermwrightError.toString


withActionability(explanation): this

Defined in: driver/src/errors.ts:32

Attach the exact failed planner evaluation; never recomputed after state changes.

ActionabilityExplanation

this

TermwrightError.withActionability