apollo-backend/internal/distributedlock/errors.go

10 lines
252 B
Go
Raw Permalink Normal View History

2023-04-01 15:57:28 +00:00
package distributedlock
import "errors"
var (
ErrLockAcquisitionTimeout = errors.New("timed out acquiring lock")
ErrLockAlreadyAcquired = errors.New("lock already acquired")
ErrLockExpired = errors.New("releasing an expired lock")
)