Files
kandev/apps/backend/internal/task/models/workspace_binding.go
T
2026-08-23 21:24:01 +00:00

12 lines
402 B
Go

package models
import "errors"
// Workspace binding errors are returned before a new session is persisted.
// They deliberately describe state rather than filesystem details: callers can
// offer a bounded retry without exposing a checkout path or branch name.
var (
ErrWorkspacePreparing = errors.New("workspace is preparing")
ErrWorkspaceReuseUnsafe = errors.New("workspace reuse is unsafe")
)