pub async fn convert_sdk_error(err: Error<()>) -> AlienError<GenericError>Expand description
Convert a progenitor SDK error to AlienError, preserving all details.
For an error status it reads the response body, so a structured Alien
error returned by the manager survives the round-trip. A body that is not
an Alien error (a proxy’s HTML page) gives an UNEXPECTED_RESPONSE error
that keeps the status, so retry decisions still work.