apollo-backend/internal/distributedlock/errors.go
2023-04-01 11:57:28 -04:00

9 lines
252 B
Go

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")
)