.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-python / pythonFiles / testing_tools / adapter / errors.py
diff --git a/.config/coc/extensions/node_modules/coc-python/pythonFiles/testing_tools/adapter/errors.py b/.config/coc/extensions/node_modules/coc-python/pythonFiles/testing_tools/adapter/errors.py
new file mode 100644 (file)
index 0000000..18b3819
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License.
+
+
+class UnsupportedToolError(ValueError):
+    def __init__(self, tool):
+        msg = 'unsupported tool {!r}'.format(tool)
+        super(UnsupportedToolError, self).__init__(msg)
+        self.tool = tool
+
+
+class UnsupportedCommandError(ValueError):
+    def __init__(self, cmd):
+        msg = 'unsupported cmd {!r}'.format(cmd)
+        super(UnsupportedCommandError, self).__init__(msg)
+        self.cmd = cmd