We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49bd98 commit a06fdadCopy full SHA for a06fdad
kitty/rc/base.py
@@ -28,6 +28,10 @@ class NoResponse:
28
pass
29
30
31
+class RemoteControlError(Exception):
32
+ pass
33
+
34
35
class MatchError(ValueError):
36
37
hide_traceback = True
@@ -115,7 +119,7 @@ def __init__(self) -> None:
115
119
116
120
def fatal(self, msg: str) -> NoReturn:
117
121
if running_in_kitty():
118
- raise Exception(msg)
122
+ raise RemoteControlError(msg)
123
raise SystemExit(msg)
124
125
def get_default(self, name: str, missing: Any = None) -> Any:
0 commit comments