10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
/**
|
|
* Error thrown when the maximum number of retries is hit in an exponential backoff
|
|
*/
|
|
export class ExponentialBackoffMaxRetriesHitError extends Error {
|
|
constructor() {
|
|
super('Exponential backoff: Max retries hit');
|
|
this.name = 'ExponentialBackoffMaxRetriesHitError';
|
|
}
|
|
}
|