Classify whether an error should be retried by withRetry.
Error-like value to classify.
True for explicit retryable errors or configured transient statuses.
Classify whether an error should be retried by withRetry.