# builder.WorkspaceApplyError.constructor

**Workspace Manager concept example** A working example of the core library. It can change without notice.

- **Module:** builder
- **Package:** @libtmux/workspace
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/workspace/src/builder.ts#L90
- **Page:** https://libtmux.org/en/ts/latest/workspace/reference/builder-workspaceapplyerror-constructor/

```
constructor(
  workspace: string,
  completed: readonly WorkspaceApplyMilestone[],
  failed: WorkspaceApplyStage,
  cause: unknown,
)
```

## Parameters

- `workspace` (`string`)
- `completed` (`readonly WorkspaceApplyMilestone[]`)
- `failed` (`WorkspaceApplyStage`)
- `cause` (`unknown`)
