2026-04-06 15:48:37 +05:30
|
|
|
// Copyright IBM Corp. 2020, 2026
|
2023-02-02 17:15:17 -08:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2021-06-22 16:23:27 -05:00
|
|
|
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")
|
2024-02-20 11:36:18 -05:00
|
|
|
// 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")
|
2021-06-22 16:23:27 -05:00
|
|
|
)
|