Enum sugar_cli::upload::errors::UploadError
source · pub enum UploadError {
InvalidAssetsDirectory(String),
GetExtensionError,
NoExtension,
InvalidNumberOfFiles(usize),
Incomplete(String),
SendDataFailed(String),
MismatchValue(String, String, String, String),
AnimationFileError(String),
}Variants§
InvalidAssetsDirectory(String)
GetExtensionError
NoExtension
InvalidNumberOfFiles(usize)
Incomplete(String)
SendDataFailed(String)
MismatchValue(String, String, String, String)
AnimationFileError(String)
Trait Implementations§
source§impl Debug for UploadError
impl Debug for UploadError
source§impl Display for UploadError
impl Display for UploadError
source§impl Error for UploadError
impl Error for UploadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()