Honestly, I’d recommend using a combination of status codes and error types. For go-resty retrycondition, I usually check for network errors (like `net.Error`) and specific HTTP codes.
Here’s a tip: use `errors.As()` to check for network errors. It’s cleaner and more reliable.
Also, check out this blog post on advanced retry strategies—it’s super helpful: [link].
Here’s a tip: use `errors.As()` to check for network errors. It’s cleaner and more reliable.
Also, check out this blog post on advanced retry strategies—it’s super helpful: [link].
