Skip to content

Can we have some more clarity on moving jobs and throwing specific errors? #1765

Answered by manast
devlzcode asked this question in Q&A
Discussion options

You must be logged in to vote

There is some information on how to use DelayedError here: https://docs.bullmq.io/patterns/process-step-jobs#delaying I noticed that the "token" is missing on the example though, it should be the second parameter of the processor function. But you are right, we could improve the documentation in some areas explaining more about the underlying mechanisms that make the special error types necessary.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@manast
Comment options

@devlzcode
Comment options

@devlzcode
Comment options

@manast
Comment options

@devlzcode
Comment options

Answer selected by devlzcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants