rbtools.diffs.tools.errors¶
Errors for working with diff tools.
New in version 4.0.
Exceptions
|
Error indicating a compatible diff tool is missing. |
- exception rbtools.diffs.tools.errors.MissingDiffToolError(registry, compatible_diff_tool_ids: Optional[Iterable[str]] = None)[source]¶
Bases:
Exception
Error indicating a compatible diff tool is missing.
The error message contains all the compatible tools that were checked, along with any relevant installation instructions for those tools.
New in version 4.0.
- __init__(registry, compatible_diff_tool_ids: Optional[Iterable[str]] = None) None [source]¶
Initialize the error.
- Parameters:
registry (
rbtools.diffs.tools.registry.DiffToolsRegistry
) – The registry that threw this error.compatible_diff_tool_ids (
list
orset
, optional) – The compatible diff tool IDs that were checked.