File: errors.go

package info (click to toggle)
golang-github-juju-mutex 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 148 kB
  • sloc: makefile: 18
file content (13 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2016 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.

package mutex

import (
	"github.com/juju/errors"
)

var (
	ErrTimeout   = errors.New("timeout acquiring mutex")
	ErrCancelled = errors.New("cancelled acquiring mutex")
)