MCPcopy
hub / github.com/treeverse/dvc / CacheLinkError

Class CacheLinkError

dvc/exceptions.py:323–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321
322
323class CacheLinkError(DvcException):
324 SUPPORT_LINK = "See {} for more information.".format(
325 format_link("https://dvc.org/doc/user-guide/troubleshooting#cache-types")
326 )
327
328 def __init__(self, fs_paths):
329 msg = "No possible cache link types for '{}'. {}".format(
330 ", ".join(fs_paths), self.SUPPORT_LINK
331 )
332 super().__init__(msg)
333 self.fs_paths = fs_paths
334
335
336class PrettyDvcException(DvcException):

Callers 3

_checkoutMethod · 0.90
commitMethod · 0.90
add_outsMethod · 0.90

Calls 2

format_linkFunction · 0.90
formatMethod · 0.45

Tested by

no test coverage detected