MCPcopy Create free account
hub / github.com/Shopify/function-examples / onError

Function onError

sample-apps/discounts/app/entry.server.jsx:48–51  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

46 reject(error);
47 },
48 onError(error) {
49 responseStatusCode = 500;
50 console.error(error);
51 },
52 }
53 );
54

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected