Enum perseus_cli::errors::InstallError
source · pub enum InstallError {
Show 18 variants
CreateToolsDirFailed {
source: Error,
},
ExternalToolUnavailable {
tool: String,
source: Error,
},
BinaryDownloadRequestFailed {
tool: String,
source: Error,
},
CreateToolDownloadDestFailed {
source: Error,
},
ChunkBinaryDownloadFailed {
source: Error,
},
WriteBinaryDownloadChunkFailed {
source: Error,
},
GetLatestToolVersionFailed {
tool: String,
source: Error,
},
ParseToolVersionFailed {
tool: String,
},
CreateToolExtractDestFailed {
source: Error,
},
ToolExtractFailed {
tool: String,
source: Error,
},
ArchiveDeletionFailed {
source: Error,
},
DirRenameFailed {
source: Error,
},
ReadToolsDirFailed {
source: Error,
},
InvalidToolsDirName {
name: String,
},
LockfileGenerationNonZero {
code: i32,
},
LockfileGenerationFailed {
source: ExecutionError,
},
MetadataFailed {
source: Error,
},
LockfileLoadFailed {
source: Error,
},
}Variants§
CreateToolsDirFailed
BinaryDownloadRequestFailed
CreateToolDownloadDestFailed
ChunkBinaryDownloadFailed
WriteBinaryDownloadChunkFailed
GetLatestToolVersionFailed
ParseToolVersionFailed
CreateToolExtractDestFailed
ToolExtractFailed
ArchiveDeletionFailed
DirRenameFailed
ReadToolsDirFailed
InvalidToolsDirName
LockfileGenerationNonZero
LockfileGenerationFailed
Fields
§
source: ExecutionErrorMetadataFailed
LockfileLoadFailed
Trait Implementations§
source§impl Debug for InstallError
impl Debug for InstallError
source§impl Display for InstallError
impl Display for InstallError
source§impl Error for InstallError
impl Error for InstallError
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()
source§impl From<InstallError> for Error
impl From<InstallError> for Error
source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.