Function: isTransientError()
isTransientError(
error,options?):boolean
Defined in: src/resilience/ExecutionStrategy.ts:55
Checks whether a given database error is transient and safe to retry.
Parameters
| Parameter | Type |
|---|---|
error | any |
options? | { retryOnDeadlocks?: boolean; retryOnTransientErrors?: boolean; } |
options.retryOnDeadlocks? | boolean |
options.retryOnTransientErrors? | boolean |
Returns
boolean