Enum maturin::UploadError
source · [−]pub enum UploadError {
UreqError(Error),
AuthenticationError,
IoError(Error),
StatusCodeError(String, String),
FileExistsError(String),
PkgInfoError(PathBuf, Error),
}
Expand description
Error type for different types of errors that can happen when uploading a wheel.
The most interesting type is AuthenticationError because it allows asking the user to reenter the password
Variants
UreqError(Error)
Any ureq error
AuthenticationError
The registry returned a “403 Forbidden”
IoError(Error)
Reading the wheel failed
StatusCodeError(String, String)
The registry returned something else than 200
FileExistsError(String)
File already exists
PkgInfoError(PathBuf, Error)
Read package metadata error