product · inferred from evidence
1101
Error class for a Worker throwing a JavaScript exception.
- Workflow: a safe Workers CI/CD pipeline
Deploy Workers through environments with per-env bindings, declared required secrets, and preview URLs for PRs. The pipeline shape that stops 'works in dev, fails in production'.
- wrangler dev vs deployed: the parity gaps that fake you out
wrangler dev emulates the runtime locally but bindings, .dev.vars, and routing behave differently than production. The checklist that stops it works locally, fails deployed.
- Worker Error 1101: your script threw, and how to see it
1101 means the Worker threw a JavaScript exception. The edge error page tells you nothing; wrangler tail shows the actual stack. Also covers the 'script will never generate a response' variant.