Skip to content
masterclass Buddy

Inngest · Error

StepError

Inngest retries ordinary errors automatically. After a step uses all retries, it throws StepError, which the function can catch for fallback or cleanup logic.

Last updated

Syntax

step.run(stepId, callback)
try { await step.run(...) } catch (error) { ... }

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Error
  • StepError
  • NonRetriableError
  • RetryAfterError
  • step.run
  • attempt

Source: Inngest Errors. Checked 2026-11-03.