# LibTmux.TmuxWindowException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Exceptions/TmuxWindowException.cs#L9
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxwindowexception/

Thrown when a window operation is refused before tmux sees it.

Some window requests cannot safely be handed to tmux to reject. tmux 3.3a
crashes its whole server on an unrecognised layout name, taking every
session on the socket with it, so a bad layout is refused here instead.

## Members

- `TmuxWindowException` (method) — Initializes the exception for one window.
- `WindowId` (property) — Gets the window the request named.
