Marks an error to terminate retry logic.
Import:
import { marksAsTerminateRetry } from '@mnaoumov/typescript-lib/async';
Signature:
function marksAsTerminateRetry(error: Error): void
Parameters:
| Parameter |
Type |
Description |
error |
Error |
The error to mark to terminate retry logic. |
Returns: void