Method FromResponse(string, HttpResponseMessage, string, string?)

Assembly: redb.Route.Llm.dll

Builds the exception for a non-2xx response: 429 →
(honouring Retry-After in both its delta and date forms), 5xx and the soft
"overloaded" 529 → , anything else →
carrying the status.

public static Exception FromResponse(string providerId, HttpResponseMessage response, string message, string? rawBody)