2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-23 22:26:13 +08:00

Update RDB.ArchiveTask with custom errors

This commit is contained in:
Ken Hibino
2021-05-02 06:47:32 -07:00
parent c0c7031ae6
commit 26a1a2f861
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")