`(retryCount: number, error: E) => number`
(retryCount: number, error: E) => number