# LibTmux.Workspace.WorkspaceFormatException.WorkspaceFormatException

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