Files
threshold/internal/event/errors.go
T
Elim Tsiagbey 3f94c900f0 feat: Add worker event listener
- add worker event listener
- add worker event handler
- start event listener when a worker starts
2024-04-05 16:46:22 -04:00

19 lines
542 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package event
import (
"errors"
)
var (
ErrInvalidParameter = errors.New("invalid parameter")
ErrMaxRetries = errors.New("too many retries")
ErrIo = errors.New("error during io operation")
ErrRecordNotFound = errors.New("record not found")
// ErrInvalidOperation represents an error when an operation cannot be completed
// because the thing being operated on is in an invalid state
ErrInvalidOperation = errors.New("invalid operation")
)