File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -132,3 +132,26 @@ class NoWindowsExist(WindowError):
132132
133133 def __init__ (self , * args : object ):
134134 return super ().__init__ ("No windows exist for object" )
135+
136+
137+ class AdjustmentDirectionRequiresAdjustment (LibTmuxException , ValueError ):
138+ """If *adjustment_direction* is set, *adjustment* must be set."""
139+
140+ def __init__ (self ) -> None :
141+ super ().__init__ ("adjustment_direction requires adjustment" )
142+
143+
144+ class WindowAdjustmentDirectionRequiresAdjustment (
145+ WindowError , AdjustmentDirectionRequiresAdjustment
146+ ):
147+ """ValueError for :meth:`libtmux.Window.resize_window`."""
148+
149+ pass
150+
151+
152+ class PaneAdjustmentDirectionRequiresAdjustment (
153+ WindowError , AdjustmentDirectionRequiresAdjustment
154+ ):
155+ """ValueError for :meth:`libtmux.Pane.resize_pane`."""
156+
157+ pass
You can’t perform that action at this time.
0 commit comments