diagnoseFailure

Describes an upstream transport exception without retrying or modifying it. Use for failures from HTTP calls, stream collection or exec/attach. Do not use to label application callback errors. Recognizes common exception names and OS messages/codes; unsupported/localized messages remain UNKNOWN. Cancellation is rethrown. Clean stream EOF has no exception and requires application-owned reconciliation.