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

Struct TaskfileVersionCheckError

errors/errors_taskfile.go:138–142  ·  view source on GitHub ↗

TaskfileVersionCheckError is returned when the user attempts to run a Taskfile that does not contain a Taskfile schema version key or if they try to use a feature that is not supported by the schema version.

Source from the content-addressed store, hash-verified

136// Taskfile that does not contain a Taskfile schema version key or if they try
137// to use a feature that is not supported by the schema version.
138type TaskfileVersionCheckError struct {
139 URI string
140 SchemaVersion *semver.Version
141 Message string
142}
143
144func (err *TaskfileVersionCheckError) Error() string {
145 if err.SchemaVersion == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected