Class: CapacityError
@termwright/driver / CapacityError
Class: CapacityError
Section titled “Class: CapacityError”Defined in: driver/src/errors.ts:199
A bounded resource (queued frames, pending waiters, sessions) is exhausted.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CapacityError(
message,diagnostics):CapacityError
Defined in: driver/src/errors.ts:200
Parameters
Section titled “Parameters”message
Section titled “message”string
diagnostics
Section titled “diagnostics”Returns
Section titled “Returns”CapacityError
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