# LibTmux.TmuxSessionExistsException

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

Thrown when a session name is already taken.

Distinct from a generic command failure because a caller can act on it:
pick another name, or ask tmux to replace the existing session.

## Members

- `TmuxSessionExistsException` (method) — Initializes the exception for one taken session name.
- `SessionName` (property) — Gets the session name that is already in use.
