Skip to Content

whatsapp-mcp


whatsapp-mcp / meta/client / metaFetchOrThrow

Function: metaFetchOrThrow()

function metaFetchOrThrow<Body>(options): Promise<Body>;

Defined in: src/meta/client.ts:140 

Convenience: call metaFetch and throw the typed error if it failed. Useful for code paths that have no business proceeding on a Meta failure.

Type Parameters

Body

Body

Parameters

options

MetaRequestOptions

Returns

Promise<Body>