Skip to content

Commit

Permalink
Remove unnecessary variant PipeFailed in MountError
Browse files Browse the repository at this point in the history
  • Loading branch information
dpbriggs committed May 4, 2023
1 parent 0722842 commit c095a71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/errors.rs
Expand Up @@ -129,8 +129,6 @@ pub enum MountError {
DeserializeError(serde_json::Error),
/// Borg was terminated by a signal
TerminatedBySignal,
/// Piping from stdout or stderr failed
PipeFailed,
/// An unexpected message id was received
UMountError(String),
/// An unexpected message id was received
Expand All @@ -148,7 +146,6 @@ impl Display for MountError {
write!(f, "Error while deserializing borg output: {err}")
}
MountError::TerminatedBySignal => write!(f, "Borg was terminated by a signal"),
MountError::PipeFailed => write!(f, "Piping from stdout or stderr failed"),
MountError::UMountError(message) => write!(f, "Failed to umount: {}", message),
MountError::UnexpectedMessageId(x) => {
write!(f, "An unexpected message id was received: {x}")
Expand Down

0 comments on commit c095a71

Please sign in to comment.