mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
31bce0a7a0
- export `WhatsAppApiError` so consumers can handle Meta error codes without parsing error messages - expose HTTP status, provider details, optional subcode and trace ID, and the raw response - cover message requests, media uploads, and media metadata failures while preserving existing error messages and `AdapterError` compatibility - add regression coverage and document error handling closes #712 --------- Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com> Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>