RetryModifiers interface

Properties that can modify the behavior of the retry policy.

Properties

errorToThrow

Indicates to throw this error instead of retrying.

redirectTo

Indicates to retry against this URL.

retryAfterInMs

Controls whether to retry in a given number of milliseconds. If provided, a new retry will be attempted.

skipStrategy

If true, allows skipping the current strategy from running on the retry policy.

Property Details

errorToThrow

Indicates to throw this error instead of retrying.

errorToThrow?: RestError

Property Value

redirectTo

Indicates to retry against this URL.

redirectTo?: string

Property Value

string

retryAfterInMs

Controls whether to retry in a given number of milliseconds. If provided, a new retry will be attempted.

retryAfterInMs?: number

Property Value

number

skipStrategy

If true, allows skipping the current strategy from running on the retry policy.

skipStrategy?: boolean

Property Value

boolean