(self, target_infos: list[str], result: dict)
| 243 | |
| 244 | class CheckoutError(DvcException): |
| 245 | def __init__(self, target_infos: list[str], result: dict): |
| 246 | from dvc.utils import error_link |
| 247 | |
| 248 | self.target_infos = target_infos |
| 249 | self.result = result |
| 250 | targets = [str(t) for t in target_infos] |
| 251 | m = ( |
| 252 | "Checkout failed for following targets:\n{}\nIs your " |
| 253 | "cache up to date?\n{}".format( |
| 254 | "\n".join(targets), error_link("missing-files") |
| 255 | ) |
| 256 | ) |
| 257 | super().__init__(m) |
| 258 | |
| 259 | |
| 260 | class CollectCacheError(DvcException): |
nothing calls this directly
no test coverage detected