# LibTmux.Workspace.WorkspaceFormatException.WorkspaceFormatException

- **Module:** LibTmux.Workspace.WorkspaceFormatException
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux.Workspace/WorkspaceFile.cs#L141
- **Page:** https://libtmux.org/reference/dotnet/libtmux-workspace-workspaceformatexception-workspaceformatexception/

```
LibTmux.Workspace.WorkspaceFormatException.WorkspaceFormatException(message: string, innerException: Exception?)
```

Initializes the exception.

## Parameters

- `message` (string) — The invalid part of the workspace.
- `innerException` (Exception?) — The underlying YAML failure, when present.
