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.
| 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. |
| 138 | type TaskfileVersionCheckError struct { |
| 139 | URI string |
| 140 | SchemaVersion *semver.Version |
| 141 | Message string |
| 142 | } |
| 143 | |
| 144 | func (err *TaskfileVersionCheckError) Error() string { |
| 145 | if err.SchemaVersion == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected