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

Method Error

errors/errors_taskrc.go:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10func (err TaskRCNotFoundError) Error() string {
11 var walkText string
12 if err.Walk {
13 walkText = " (or any of the parent directories)"
14 }
15 return fmt.Sprintf(`task: No Task config file found at %q%s`, err.URI, walkText)
16}
17
18func (err TaskRCNotFoundError) Code() int {
19 return CodeTaskRCNotFoundError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected