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

Method Code

errors/errors_task.go:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130func (err *TaskCancelledByUserError) Code() int {
131 return CodeTaskCancelled
132}
133
134// TaskCancelledNoTerminalError is returned when trying to run a task with a prompt in a non-terminal environment.
135type TaskCancelledNoTerminalError struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected