kevo/pkg/engine/interfaces/errors.go
Jeremy Tregunna 7e226825df
All checks were successful
Go Tests / Run Tests (1.24.2) (push) Successful in 9m48s
fix: engine refactor bugfix fest, go fmt
2025-04-25 23:36:08 -06:00

14 lines
490 B
Go

package interfaces
import "errors"
// Common error types used throughout the engine
// Note: Some errors are defined as constants in engine.go
var (
// ErrReadOnlyTransaction is returned when attempting to write in a read-only transaction
ErrReadOnlyTransaction = errors.New("transaction is read-only")
// ErrTransactionClosed is returned when operations are performed on a completed transaction
ErrTransactionClosed = errors.New("transaction is already committed or rolled back")
)