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.
SubscribeRelated
ErrorStepErrorNonRetriableErrorRetryAfterErrorstep.runattempt