Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk-go): qualify the 409 case in the typed errors example
Yudhi Armyndharis006f57077ad1
diff --git a/sdk/go/example_test.go b/sdk/go/example_test.goindex 613e8b446..2e01c9d14 100644--- a/sdk/go/example_test.go+++ b/sdk/go/example_test.go@@ -50,6 +50,8 @@ func ExampleClient_typedErrors() {switch {case errors.Is(err, openwa.ErrConflict):// Engine not ready (409) — retry after the session reaches "ready".+ // A keyed send can also answer 409 for a pending or uncertain outcome; APIError.Code+ // tells them apart, and an uncertain one must be checked in the chat before it is sent again.case errors.Is(err, openwa.ErrNotFound):// Unknown session (404).case err != nil: