# LibTmux.TmuxSessionExistsException.TmuxSessionExistsException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Exceptions/TmuxSessionExistsException.cs#L14
- **Page:** https://libtmux.org/en/csharp/latest/reference/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.
