Retry guidance
- Correct
400requests before retrying. For an expired session, start a fresh solve. - Retry
502only after checking proxy health and upstream availability. - A
504can indicate a slow proxy or upstream target; retry with bounded backoff. - Do not retry
408after the caller has abandoned the operation.
Error messages provide diagnostic detail but are not stable identifiers. Branch
on
error.code, not the message text.