2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-10-09 17:09:33 +01:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package queue
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/zeebo/errs"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Error is a standard error class for this package.
|
2021-04-28 09:06:17 +01:00
|
|
|
var Error = errs.Class("repair queue")
|
2023-04-06 14:44:54 +01:00
|
|
|
|
|
|
|
// ErrEmpty is returned when attempting to Dequeue from an empty queue.
|
|
|
|
var ErrEmpty = errs.Class("empty queue")
|