amqpx / index / TooManyRetriesError
Class: TooManyRetriesError
Defined in: src/errors.ts:5
Thrown when a retryable operation exhausts all retry attempts as defined by the configured RetryStrategy.
Extends
Error
Constructors
Constructor
new TooManyRetriesError(
message,cause):TooManyRetriesError
Defined in: src/errors.ts:6
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | - |
cause | unknown | The last error thrown by the retried operation before retries were exhausted. |
Returns
TooManyRetriesError
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cause | readonly | unknown | The last error thrown by the retried operation before retries were exhausted. | src/errors.ts:11 |