Structured form of a provider error string. Provider errors look something
like <httpStatus> <jsonBody> (Anthropic, OpenAI) or <jsonBody> (Gemini).
This helper makes a best-effort guess: walk the JSON, grab the deepest
message string and the first 3-digit code/status field.
Structured form of a provider error string. Provider errors look something like
<httpStatus> <jsonBody>(Anthropic, OpenAI) or<jsonBody>(Gemini). This helper makes a best-effort guess: walk the JSON, grab the deepestmessagestring and the first 3-digitcode/statusfield.