WorkspaceBuilderError
- enum WorkspaceBuilderError : enum Workspace
Builder Error - Bases:
Why a workspace could not be built, including what happened while undoing.
Description#
Building creates a session and then fills it, so a failure partway leaves something to clean up.
.rollbackFailed(original:cleanup:)is the case where that cleanup also failed: it carries both errors, because the original says what to fix and the second says what was left behind.
Guides#
Pages that discuss WorkspaceBuilderError.
Members7#
Common operations1#
- rollbackFailed(original:cleanup:): case rollbackFailed(original: Workspace
Builder , cleanup: TmuxError Error ) constant
Other members6#
- localizedDescription: var localized
Description : String property inherited Retrieve the localized description for this error. - noWindows: case no
Windows constant - sessionExists(_:): case sessionExists(String) constant
- sessionVanished(_:): case sessionVanished(String) constant
- tmux(_:): case tmux(Tmux
Error ) constant - callback(_:): case callback(any Error) constant Whatever a configuration or event callback raised, carried whole: the caller that supplied the callback is the only one that can read it.