# LibTmux.TmuxSessionExistsException.TmuxSessionExistsException

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

```
LibTmux.TmuxSessionExistsException.TmuxSessionExistsException(message: string, sessionName: string, innerException: Exception?)
```

Initializes the exception for one taken session name.

## Parameters

- `message` (string) — What tmux reported.
- `sessionName` (string) — The name already in use.
- `innerException` (Exception?) — The underlying failure, when any.
