MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / handleWebhookError

Function handleWebhookError

integrations/shopify/src/webhooks.ts:211–217  ·  view source on GitHub ↗
(errorType: string, request: Request, response: Response)

Source from the content-addressed store, hash-verified

209}
210
211async function handleWebhookError(errorType: string, request: Request, response: Response) {
212 const body = await response.clone().text();
213
214 const message = `[${errorType}] ${response.status} - ${response.statusText} - body: "${body}"`;
215
216 throw new ShopifyApiError(message, request, response);
217}

Callers 1

#createWithFetchMethod · 0.70

Calls 1

textMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…