MCPcopy
hub / github.com/go-task/task / TaskfileInvalidError

Struct TaskfileInvalidError

errors/errors_taskfile.go:52–55  ·  view source on GitHub ↗

TaskfileInvalidError is returned when the Taskfile contains syntax errors or cannot be parsed for some reason.

Source from the content-addressed store, hash-verified

50// TaskfileInvalidError is returned when the Taskfile contains syntax errors or
51// cannot be parsed for some reason.
52type TaskfileInvalidError struct {
53 URI string
54 Err error
55}
56
57func (err TaskfileInvalidError) Error() string {
58 return fmt.Sprintf("task: Failed to parse %s:\n%v", filepath.ToSlash(err.URI), err.Err)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected