HarnessErrorPolicy
Generated by TypeDoc. Do not edit this page directly.
Interface: HarnessErrorPolicy
Section titled “Interface: HarnessErrorPolicy”Defined in: packages/core/src/runtime/types/errors.ts:49
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
closeSessionOnFatal? | boolean | packages/core/src/runtime/types/errors.ts:52 |
contextFailure? | "fail" | "warn-and-skip" | packages/core/src/runtime/types/errors.ts:53 |
exposeInternalErrors? | boolean | packages/core/src/runtime/types/errors.ts:50 |
includeStackInStatus? | boolean | packages/core/src/runtime/types/errors.ts:51 |
retry? | object | packages/core/src/runtime/types/errors.ts:54 |
retry.model? | HarnessRetryPolicy | packages/core/src/runtime/types/errors.ts:55 |
retry.storage? | HarnessRetryPolicy | packages/core/src/runtime/types/errors.ts:56 |
Methods
Section titled “Methods”classify()?
Section titled “classify()?”optional classify(error, context): Partial<HarnessErrorShape> | undefined;Defined in: packages/core/src/runtime/types/errors.ts:58
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
error | unknown |
context | HarnessErrorContext |
Returns
Section titled “Returns”Partial<HarnessErrorShape> | undefined