sentralize userquiterror

This commit is contained in:
Robin Olsen
2026-02-18 14:32:08 +01:00
parent 5c74cd15ba
commit 2583ca13c3
4 changed files with 5 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ package task
import (
"context"
"fmt"
"github.com/LazyBachelor/LazyPM/internal/service"
taskui "github.com/LazyBachelor/LazyPM/pkg/task/ui"
@@ -9,6 +10,8 @@ import (
type TaskConfig = service.Config
var ErrUserQuit = fmt.Errorf("user quit")
type Interface interface {
Run(context.Context, TaskConfig) error
}