aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/state/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/state/state.go')
-rw-r--r--internal/app/state/state.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/app/state/state.go b/internal/app/state/state.go
index c5238d18..a64568f6 100644
--- a/internal/app/state/state.go
+++ b/internal/app/state/state.go
@@ -2,14 +2,9 @@
package state
import (
- "errors"
-
"hakurei.app/hst"
)
-// ErrNoConfig is returned by [Cursor] when used with a nil [hst.Config].
-var ErrNoConfig = errors.New("state does not contain config")
-
type Store interface {
// Do calls f exactly once and ensures store exclusivity until f returns.
// Returns whether f is called and any errors during the locking process.