MCPcopy Create free account
hub / github.com/go-task/task / TaskCancelledByUserError

Struct TaskCancelledByUserError

errors/errors_task.go:122–124  ·  view source on GitHub ↗

TaskCancelledByUserError is returned when the user does not accept an optional prompt to continue.

Source from the content-addressed store, hash-verified

120
121// TaskCancelledByUserError is returned when the user does not accept an optional prompt to continue.
122type TaskCancelledByUserError struct {
123 TaskName string
124}
125
126func (err *TaskCancelledByUserError) Error() string {
127 return fmt.Sprintf(`task: Task %q cancelled by user`, err.TaskName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected