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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user