Failures are reported to the client as a bare code, never as prose: useChat
surfaces a non-2xx body verbatim as error.message, so anything human-readable
put here would bypass i18n and could leak provider internals. The client maps
these onto translated strings.
Failures are reported to the client as a bare code, never as prose:
useChatsurfaces a non-2xx body verbatim aserror.message, so anything human-readable put here would bypass i18n and could leak provider internals. The client maps these onto translated strings.