mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Clean up Error
enum in Metadata23
(#2835)
## Summary Rename, and remove a bunch of unused variants.
This commit is contained in:
parent
2f386ef440
commit
a0b8d1a994
3 changed files with 56 additions and 66 deletions
|
@ -146,7 +146,11 @@ pub enum ErrorKind {
|
|||
|
||||
/// The metadata file could not be parsed.
|
||||
#[error("Couldn't parse metadata of {0} from {1}")]
|
||||
MetadataParseError(WheelFilename, String, #[source] Box<pypi_types::Error>),
|
||||
MetadataParseError(
|
||||
WheelFilename,
|
||||
String,
|
||||
#[source] Box<pypi_types::MetadataError>,
|
||||
),
|
||||
|
||||
/// The metadata file was not found in the wheel.
|
||||
#[error("Metadata file `{0}` was not found in {1}")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue