Rulvar API reference / @rulvar/testing / VcrMissError
Class: VcrMissError
Defined in: packages/testing/src/vcr.ts:413
Typed hermetic-miss error; onMiss: 'throw' raises it on any request without a servable row. recordedOccurrences above zero means the hash WAS recorded but every occurrence is already consumed (replay serves each recorded exchange once, in recorded order); absent or zero means the request was never recorded at all (v1.29.0 review P2).
Extends
Error
Constructors
Constructor
ts
new VcrMissError(
adapterId,
hash,
recordedOccurrences?): VcrMissError;Defined in: packages/testing/src/vcr.ts:417
Parameters
| Parameter | Type |
|---|---|
adapterId | string |
hash | string |
recordedOccurrences? | number |
Returns
VcrMissError
Overrides
ts
Error.constructorProperties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
recordedOccurrences? | readonly | number | Rows recorded for this hash; absent or 0 = never recorded. | packages/testing/src/vcr.ts:416 |
requestHash | readonly | string | - | packages/testing/src/vcr.ts:414 |