Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/function-examples
/ onShellError
Function
onShellError
sample-apps/discounts/app/entry.server.jsx:45–47 ·
view source on GitHub ↗
(error)
Source
from the content-addressed store, hash-verified
43
pipe(body);
44
},
45
onShellError(error) {
46
reject(error);
47
},
48
onError(error) {
49
responseStatusCode = 500;
50
console.error(error);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected