Remove unused thiserror variants (#11713)

## Summary

We get to remove an entire dependency too.
This commit is contained in:
Charlie Marsh 2025-02-22 12:12:22 -10:00 committed by GitHub
parent 0b3d91c73a
commit 359a3cbe44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 8 additions and 75 deletions

View file

@ -1,4 +1,4 @@
use std::{ffi::OsString, path::PathBuf};
use std::ffi::OsString;
#[derive(Debug, thiserror::Error)]
pub enum Error {
@ -8,8 +8,6 @@ pub enum Error {
AsyncZip(#[from] async_zip::error::ZipError),
#[error(transparent)]
Io(#[from] std::io::Error),
#[error("Unsupported archive type: {0}")]
UnsupportedArchive(PathBuf),
#[error(
"The top-level of the archive must only contain a list directory, but it contains: {0:?}"
)]