()
| 128 | } |
| 129 | |
| 130 | func (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. |
| 135 | type TaskCancelledNoTerminalError struct { |
nothing calls this directly
no outgoing calls
no test coverage detected