function calculateRetryDelay(retryAttempt, config) {
    return tspRuntime.calculateRetryDelay(retryAttempt, config);
}
Typeguard for an error object shape (has name and message)

@param e - Something caught by a catch clause.