WorkspaceBuilderError
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- enum WorkspaceBuilderError : 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.
rollbackFailedis 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
- functionstatic ¶!=(_:_:)
-
Inherited from
Equatable.!=(_:_:)Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values
aandb,a != bimplies thata == bisfalse.This is the default implementation of the not-equal-to operator (
!=) for any type that conforms toEquatable.- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.
- Parameters:
- localizedDescription : var localizedDescription: Stringproperty ¶property ¶localizedDescription
-
Inherited from
Error.localizedDescriptionRetrieve the localized description for this error.
rollbackFailed(original:cleanup:)
- rollbackFailed(original:cleanup:) : case rollbackFailed(original: WorkspaceBuilderError, cleanup: TmuxError)
-
Discussed in Use the Swift workspace builder , Swift workspace builder behavior , Swift workspace builder API