Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

WorkspaceBuilderError

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

API reference · Markdown

enum WorkspaceBuilderError : enum WorkspaceBuilderError
enum [source]
enum [source]
enum WorkspaceBuilderError

Why a workspace could not be built, including what happened while undoing.

Building creates a session and then fills it, so a failure partway leaves something to clean up. rollbackFailed 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.

Discussed in Swift workspace builder API

Members

!=(_:_:)

!=(_:_:) ( lhs : Self , rhs : Self ) → Bool
functionstatic
functionstatic
!=(_:_:)

Inherited from Equatable.!=(_:_:)

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

  • Parameters:
    • lhs: A value to compare.
    • rhs: Another value to compare.

localizedDescription

localizedDescription : var localizedDescription: String
property
property
localizedDescription

Inherited from Error.localizedDescription

Retrieve the localized description for this error.

noWindows

noWindows : case noWindows
constant [source]
constant [source]
noWindows

sessionExists(_:)

sessionExists(_:) : case sessionExists(String)
constant [source]
constant [source]
sessionExists(_:)

sessionVanished(_:)

sessionVanished(_:) : case sessionVanished(String)
constant [source]
constant [source]
sessionVanished(_:)

tmux(_:)

tmux(_:) : case tmux(TmuxError)
constant [source]
constant [source]
tmux(_:)

rollbackFailed(original:cleanup:)

rollbackFailed(original:cleanup:) : case rollbackFailed(original: WorkspaceBuilderError, cleanup: TmuxError)
constant [source]
constant [source]
rollbackFailed(original:cleanup:)

Discussed in Use the Swift workspace builder , Swift workspace builder behavior , Swift workspace builder API

Esc

Type to search.