()
| 8 | } |
| 9 | |
| 10 | func (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 | |
| 18 | func (err TaskRCNotFoundError) Code() int { |
| 19 | return CodeTaskRCNotFoundError |
nothing calls this directly
no outgoing calls
no test coverage detected