storj/satellite/repair/queue/common.go
Egon Elbre 48256c91b5 storage: move errors to better locations
Change-Id: Ia44570949a8f6bb50220dc838c5b6aa21e851a4d
2023-04-06 17:26:29 +03:00

15 lines
338 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package queue
import (
"github.com/zeebo/errs"
)
// Error is a standard error class for this package.
var Error = errs.Class("repair queue")
// ErrEmpty is returned when attempting to Dequeue from an empty queue.
var ErrEmpty = errs.Class("empty queue")