Skip to content

HarnessErrorPolicy

Generated by TypeDoc. Do not edit this page directly.

API Reference


Defined in: packages/core/src/runtime/types/errors.ts:49

PropertyTypeDefined in
closeSessionOnFatal?booleanpackages/core/src/runtime/types/errors.ts:52
contextFailure?"fail" | "warn-and-skip"packages/core/src/runtime/types/errors.ts:53
exposeInternalErrors?booleanpackages/core/src/runtime/types/errors.ts:50
includeStackInStatus?booleanpackages/core/src/runtime/types/errors.ts:51
retry?objectpackages/core/src/runtime/types/errors.ts:54
retry.model?HarnessRetryPolicypackages/core/src/runtime/types/errors.ts:55
retry.storage?HarnessRetryPolicypackages/core/src/runtime/types/errors.ts:56
optional classify(error, context): Partial<HarnessErrorShape> | undefined;

Defined in: packages/core/src/runtime/types/errors.ts:58

ParameterType
errorunknown
contextHarnessErrorContext

Partial<HarnessErrorShape> | undefined