Class: SessionClosedError
@termwright/driver / SessionClosedError
Class: SessionClosedError
Section titled “Class: SessionClosedError”Defined in: driver/src/errors.ts:213
The harness was closed; no further observation or input is possible.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SessionClosedError(
message,diagnostics):SessionClosedError
Defined in: driver/src/errors.ts:214
Parameters
Section titled “Parameters”message
Section titled “message”string
diagnostics
Section titled “diagnostics”Returns
Section titled “Returns”SessionClosedError
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