Skip to main content

Enumeration: ErrorStrategy

The strategy to use when an error occurs during a benchmark run.

Enumeration Members​

Abort​

Abort: "abort"

Abort the benchmark run immediately when an error occurs.

Defined in​

src/api-types.ts:69


Continue​

Continue: "continue"

Continue running the benchmark. Errors will be collected and reported at the end. This is the default behavior.

Defined in​

src/api-types.ts:64


DelayedThrow​

DelayedThrow: "delayed-throw"

Delay the error until the end of the benchmark run. This is useful when you want to see all the errors at once

Defined in​

src/api-types.ts:74