# Functions
ResetTimeout changes the possibly expired timer t to expire after duration d.
Retryable returns true for common errors that are considered retryable, i.e.
WithBackoff retries the passed function if it fails and the error allows it to retry.
# Constants
DefaultTimeout is our opinionated default timeout for retrying database and Redis operations.
# Type aliases
IsRetryable checks whether a new attempt can be started based on the error passed.
OnRetryableErrorFunc is called if a retryable error occurs.
OnSuccessFunc is called once the operation succeeds.
RetryableFunc is a retryable function.