Skip to content

WebhookErrorInfo

Defined in: src/resources/webhook-handler-core.ts:34

Where a failed event came from, passed to onError. Empty for envelope errors.

optional ctx?: WebhookContext

Defined in: src/resources/webhook-handler-core.ts:38

The context of that event.


optional event?: WebhookEvent

Defined in: src/resources/webhook-handler-core.ts:36

The event being handled when the error happened.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.