grafana/pkg/infra/serverlock/errors.go

10 lines
200 B
Go
Raw Normal View History

package serverlock
type ServerLockExistsError struct {
actionName string
}
func (e *ServerLockExistsError) Error() string {
return "there is already a lock for this actionName: " + e.actionName
}