# LibTmux.Workspace.WorkspaceFormatException.WorkspaceFormatException

- **Module:** LibTmux.Workspace.WorkspaceFormatException
- **Package:** LibTmux.Workspace
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Workspace/WorkspaceFile.cs#L141
- **Page:** https://libtmux.org/en/dotnet/latest/workspace/reference/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.
