Skip to content

Commit

Permalink
feat: make ExtractError more informative (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw authored Oct 3, 2024
1 parent b448875 commit 0cacc4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rattler_package_streaming/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ pub mod write;
#[derive(thiserror::Error, Debug)]
#[allow(missing_docs)]
pub enum ExtractError {
#[error("an io error occurred")]
#[error("an io error occurred: {0}")]
IoError(#[from] std::io::Error),

#[error("could not create the destination path")]
#[error("could not create the destination path: {0}")]
CouldNotCreateDestination(#[source] std::io::Error),

#[error("invalid zip archive")]
#[error("invalid zip archive: {0}")]
ZipError(#[source] zip::result::ZipError),

#[error("a component is missing from the Conda archive")]
Expand Down

0 comments on commit 0cacc4b

Please sign in to comment.