pub enum ProblemCode {
Show 35 variants
TaskUnknown,
EmptyTask,
DecisionRequired,
BranchExists,
BranchInUse,
Cancelled,
DamagedState,
DefaultBranchUnknown,
GitFailed,
GitOutputLimit,
IncompatibleState,
InvalidGitOutput,
InvalidInput,
InvalidParticipantName,
InvalidRemote,
InvalidTask,
LaunchFailed,
ParticipantNameConflict,
ParticipantNameRequired,
PathOverlap,
ProjectAmbiguous,
ProjectUnknown,
PublicationUncertain,
RemoteRequired,
RepositoryAliasConflict,
RepositoryChanged,
ResourceBusy,
SerializationFailed,
SourceMissing,
StaleIdentity,
SupervisionFailed,
TaskExists,
WorkspaceNotFound,
WorkspaceBindingConflict,
IoError,
}Expand description
Machine-readable classification carried by a Workyard problem.
Variants§
TaskUnknown
No task matches the requested name.
EmptyTask
The requested membership change would leave the task without participants.
DecisionRequired
The operation requires a choice or explicit consent to continue.
BranchExists
Creating the target branch would collide with an existing branch.
BranchInUse
Another worktree already has the requested branch checked out.
Cancelled
The caller requested cancellation.
DamagedState
Stored data could not be validated or reconciled.
DefaultBranchUnknown
The repository’s default starting branch could not be determined.
GitFailed
Git reported an unsuccessful exit.
GitOutputLimit
Git output exceeded the limit for reliable inspection.
IncompatibleState
The stored format or required state capability is unsupported.
InvalidGitOutput
Git returned data the adapter could not interpret.
InvalidInput
An argument or combination of arguments is invalid.
InvalidParticipantName
The supplied name cannot be used for a participant directory.
InvalidRemote
The selected Git remote is invalid for this repository.
InvalidTask
The proposed task name is invalid.
LaunchFailed
The supervised process could not start.
ParticipantNameConflict
Multiple participants would occupy the same task-local name.
ParticipantNameRequired
A participant needs an explicit task-local name.
PathOverlap
The requested locations overlap in an unsupported way.
ProjectAmbiguous
Several discovered repositories match the project selector.
ProjectUnknown
No discovered project matches the selector.
PublicationUncertain
A write may be visible but its final publication could not be confirmed.
RemoteRequired
The operation requires an unambiguous remote selection.
RepositoryAliasConflict
Multiple selections resolve to the same backing repository.
RepositoryChanged
The observed repository or worktree no longer matches expectations.
ResourceBusy
Another operation may still own the resource.
SerializationFailed
Data could not be encoded for storage or delivery.
SourceMissing
The requested branch starting point could not be resolved.
StaleIdentity
The named filesystem entry no longer matches its expected identity.
SupervisionFailed
The process supervisor could not establish a reliable command outcome.
TaskExists
The requested task or its destination is already occupied.
WorkspaceNotFound
No initialized workspace was found for the supplied location.
WorkspaceBindingConflict
Workspace state and requested workspace placement disagree.
IoError
An operating-system I/O operation failed.