mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
Remove unused error variant (#5266)
This commit is contained in:
parent
12518a01a4
commit
5c3d55afa8
2 changed files with 0 additions and 7 deletions
|
|
@ -173,10 +173,6 @@ pub enum ErrorKind {
|
|||
#[source] Box<pypi_types::MetadataError>,
|
||||
),
|
||||
|
||||
/// The metadata file was not found in the wheel.
|
||||
#[error("Metadata file `{0}` was not found in {1}")]
|
||||
MetadataNotFound(WheelFilename, String),
|
||||
|
||||
/// An error that happened while making a request or in a reqwest middleware.
|
||||
#[error(transparent)]
|
||||
WrappedReqwestError(#[from] WrappedReqwestError),
|
||||
|
|
|
|||
|
|
@ -180,9 +180,6 @@ impl<'a, Context: BuildContext> ResolverProvider for DefaultResolverProvider<'a,
|
|||
Err(err) => match err {
|
||||
uv_distribution::Error::Client(client) => match client.into_kind() {
|
||||
uv_client::ErrorKind::Offline(_) => Ok(MetadataResponse::Offline),
|
||||
uv_client::ErrorKind::MetadataNotFound(_, _) => {
|
||||
Ok(MetadataResponse::MissingMetadata)
|
||||
}
|
||||
uv_client::ErrorKind::MetadataParseError(_, _, err) => {
|
||||
Ok(MetadataResponse::InvalidMetadata(err))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue