Versions in this module Expand all Collapse all v1 v1.0.1 Apr 8, 2024 v1.0.0 Apr 8, 2024 Changes in this version + var ErrDuplicateTask = errors.New("task already exists") + var ErrNoProcessableTask = errors.New("no tasks are ready for processing") + var ErrTaskIdConflict = errors.New("task id conflicts with another task") + func As(err error, target interface{}) bool + func E(args ...interface{}) error + func Is(err, target error) bool + func IsPanicError(err error) bool + func IsQueueNotEmpty(err error) bool + func IsQueueNotFound(err error) bool + func IsRedisCommandError(err error) bool + func IsTaskAlreadyArchived(err error) bool + func IsTaskNotFound(err error) bool + func New(text string) error + func Unwrap(err error) error + type Code uint8 + const AlreadyExists + const FailedPrecondition + const Internal + const NotFound + const Unknown + const Unspecified + func CanonicalCode(err error) Code + func (c Code) String() string + type Error struct + Code Code + Err error + Op Op + func (e *Error) DebugString() string + func (e *Error) Error() string + func (e *Error) Unwrap() error + type Op string + type PanicError struct + ErrMsg string + func (e *PanicError) Error() string + type QueueNotEmptyError struct + Queue string + func (e *QueueNotEmptyError) Error() string + type QueueNotFoundError struct + Queue string + func (e *QueueNotFoundError) Error() string + type RedisCommandError struct + Command string + Err error + func (e *RedisCommandError) Error() string + func (e *RedisCommandError) Unwrap() error + type TaskAlreadyArchivedError struct + ID string + Queue string + func (e *TaskAlreadyArchivedError) Error() string + type TaskNotFoundError struct + ID string + Queue string + func (e *TaskNotFoundError) Error() string