Class: AdapterGuaranteeViolationError
@termwright/driver / AdapterGuaranteeViolationError
Class: AdapterGuaranteeViolationError
Section titled “Class: AdapterGuaranteeViolationError”Defined in: driver/src/errors.ts:166
Base class for every error the driver throws. Carries a stable code plus Playwright-grade diagnostics (what was observed, which candidates existed, and a suggestion).
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AdapterGuaranteeViolationError(
message,diagnostics):AdapterGuaranteeViolationError
Defined in: driver/src/errors.ts:167
Parameters
Section titled “Parameters”message
Section titled “message”string
diagnostics
Section titled “diagnostics”Returns
Section titled “Returns”AdapterGuaranteeViolationError
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”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