Inngest's instanceof lies: why custom error classes vanish across step.run

📰 Dev.to · Art Levitt

Learn how Inngest's instanceof lies can break retry logic, error reporting, and dashboards, and how to fix it

intermediate Published 29 Apr 2026
Action Steps
  1. Identify custom error classes in your Inngest pipeline
  2. Check how errors are handled across step.run
  3. Use a workaround such as re-throwing errors with a custom class
  4. Test your pipeline to ensure errors are properly reported
  5. Review your retry logic to prevent silent failures
Who Needs to Know This

Developers using Inngest and TypeScript will benefit from understanding this issue to prevent silent failures in their pipelines

Key Insight

💡 Inngest's instanceof lies can cause custom error classes to vanish across step.run, leading to silent failures

Share This
🚨 Inngest's instanceof lies can silently break your pipelines! 🚨 Learn how to fix it and prevent retry logic, error reporting, and dashboard issues
Read full article → ← Back to Reads