BeforeRetryHook: ((error: RequestError, retryCount: number) => Promisable<void>)