Recover from dup active profiles that cannot be resolved with username.

This commit is contained in:
Theodor S. Midtlien
2026-09-16 16:00:25 +02:00
committed by GitHub
parent 9d991e9e43
commit 9637cb37e5
6 changed files with 187 additions and 16 deletions
+5
View File
@@ -6,4 +6,9 @@ var (
ErrProfileNotFound = errors.New("profile not found")
ErrProfileAlreadyExists = errors.New("profile already exists")
ErrNoActiveProfile = errors.New("no active profile set")
// ErrAmbiguousActiveProfile is returned when the active profile state names
// an ID that several profiles hold and does not say whose directory the
// active one sits in.
ErrAmbiguousActiveProfile = errors.New("active profile is ambiguous")
)