()
| 122 | } |
| 123 | |
| 124 | func (err *TaskfileCacheNotFoundError) Error() string { |
| 125 | return fmt.Sprintf( |
| 126 | `task: Taskfile %q was not found in the cache. Remove the --offline flag to use a remote copy or download it using the --download flag`, |
| 127 | filepath.ToSlash(err.URI), |
| 128 | ) |
| 129 | } |
| 130 | |
| 131 | func (err *TaskfileCacheNotFoundError) Code() int { |
| 132 | return CodeTaskfileCacheNotFound |
nothing calls this directly
no outgoing calls
no test coverage detected