summaryrefslogtreecommitdiff
path: root/python/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/__init__.py')
-rw-r--r--python/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 2d0f7065..60b739e7 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -365,3 +365,8 @@ def connect_vscode_debugger(port=5678):
debugpy.listen(("127.0.0.1", port))
debugpy.wait_for_client()
execute_on_main_thread(lambda: debugpy.debug_this_thread())
+
+
+class UIPluginInHeadlessError(Exception):
+ def __init__(self, *args, **kwargs):
+ Exception.__init__(self, *args, **kwargs)