2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-24 22:46:11 +08:00

Update RDB.ArchiveTask with custom errors

This commit is contained in:
Ken Hibino
2021-05-02 06:47:32 -07:00
parent 4693ffec05
commit 25173cd505
2 changed files with 13 additions and 10 deletions

View File

@@ -15,6 +15,7 @@ import (
"github.com/spf13/cast"
)
// TODO: remove this & use internal/errors package instead.
var (
// ErrNoProcessableTask indicates that there are no tasks ready to be processed.
ErrNoProcessableTask = errors.New("no tasks are ready for processing")