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 17ad109 commit f677bb5Copy full SHA for f677bb5
src/libtmux/neo.py
@@ -3,7 +3,6 @@
3
import typing as t
4
5
from libtmux import exc
6
-from libtmux._internal.query_list import ObjectDoesNotExist
7
from libtmux.common import tmux_cmd
8
from libtmux.formats import FORMAT_SEPARATOR
9
@@ -240,9 +239,11 @@ def fetch_obj(
240
239
obj = _obj
241
242
if obj is None:
243
- raise ObjectDoesNotExist(
244
- f"Could not find {obj_key}={obj_id} for {list_cmd} "
245
- f'{list_extra_args if list_extra_args is not None else ""}'
+ raise exc.TmuxObjectDoesNotExist(
+ obj_key=obj_key,
+ obj_id=obj_id,
+ list_cmd=list_cmd,
246
+ list_extra_args=list_extra_args,
247
)
248
249
assert obj is not None
0 commit comments