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

Method Error

errors/errors_taskfile.go:124–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124func (err *TaskfileCacheNotFoundError) Error() string {
125 return fmt.Sprintf(
126 `task: Taskfile %q was not found in the cache. Remove the --offline flag to use a remote copy or download it using the --download flag`,
127 filepath.ToSlash(err.URI),
128 )
129}
130
131func (err *TaskfileCacheNotFoundError) Code() int {
132 return CodeTaskfileCacheNotFound

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected