# LibTmux.ControlModeCommandException.ControlModeCommandException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Exceptions/ControlModeCommandException.cs#L12
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-controlmodecommandexception-controlmodecommandexception/

```
LibTmux.ControlModeCommandException.ControlModeCommandException(message: string, command: TmuxCommand, outputLines: IReadOnlyList<string>, errorLines: IReadOnlyList<string>, innerException: Exception?)
```

Initializes a control-mode command exception.
