Codex on a Team account (gpt-6.1-sol, high reasoning) showed a bare
"Codex: Bad Request" with nothing of what the vendor refused. apiError took
the error object's message alone; when that message is only an HTTP
status's text, the error's own type, code and param now follow it.
Any message with words of its own is shown as before.
This does not find why that account is refused: no Team account was
available, and a Pro account takes the same request (gpt-6.1-sol, high,
a tool call, HTTP and socket). The next report shows the vendor's field.
Run: new TestAPIErrorBareStatusMessageGivesItsFields (red on the old
apiError, green after), internal/provider and internal/gateway whole at
this tree, go vet darwin, windows and linux nogui for provider, gofmt.
Not tried: a Team account; the GUI tests (no GUI file touched).