Skip to content

Commit a2e1b18

Browse files
committed
docs: update error message
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent c4a8df5 commit a2e1b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errors.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "errors"
44

55
var (
66
// ErrNoTaskInQueue there is nothing in the queue
7-
ErrNoTaskInQueue = errors.New("no task in queue")
7+
ErrNoTaskInQueue = errors.New("golang-queue: no task in queue")
88
// ErrQueueHasBeenClosed the current queue is closed
9-
ErrQueueHasBeenClosed = errors.New("queue has been closed")
9+
ErrQueueHasBeenClosed = errors.New("golang-queue: queue has been closed")
1010
)

0 commit comments

Comments
 (0)