Enum crossbundle_tools::error::Error [−][src]
pub enum Error {
Show 15 variants
CmdFailed(Command, String, String),
CmdNotFound(String),
InvalidProfile(String),
InvalidInterfaceOrientation(String),
ToolchainBinaryNotFound {
toolchain_path: PathBuf,
gnu_bin: String,
llvm_bin: String,
},
PathNotFound(PathBuf),
FailedToFindCargoManifest(String),
FailedToChooseShellStringColor(String),
Io(Error),
FsExtra(Error),
Zip(ZipError),
Android(AndroidError),
Apple(AppleError),
AnyhowError(Error),
OtherError(Box<dyn Error>),
}Expand description
Main error type.
Variants
CmdFailed(Command, String, String)
Command ‘{0:?}’ had a non-zero exit code. Stdout: {1} Stderr: {2}
CmdNotFound(String)
Tuple Fields
0: StringCommand {0} not found
InvalidProfile(String)
Tuple Fields
0: StringInvalid profile: {0}
InvalidInterfaceOrientation(String)
Tuple Fields
0: StringInvalid interface orientation: {0:?}
ToolchainBinaryNotFound
GNU toolchain binary {gnu_bin} nor LLVM toolchain binary {llvm_bin} found in
{toolchain_path:?}
PathNotFound(PathBuf)
Tuple Fields
0: PathBufPath {0:?} doesn’t exist
FailedToFindCargoManifest(String)
Tuple Fields
0: StringFailed to find cargo manifest: {0}
FailedToChooseShellStringColor(String)
Tuple Fields
0: StringFailed to choose shell string color.
Argument for –color must be auto, always, or never, but found {}
Io(Error)
Tuple Fields
0: ErrorIO error
FsExtra(Error)
Tuple Fields
0: ErrorFS Extra error
Zip(ZipError)
Tuple Fields
0: ZipErrorZip error
Android(AndroidError)
Tuple Fields
0: AndroidErrorAndroid error
Apple(AppleError)
Tuple Fields
0: AppleErrorApple error
AnyhowError(Error)
Tuple Fields
0: ErrorAnyhow error
OtherError(Box<dyn Error>)
Other error
Trait Implementations
Performs the conversion.
Performs the conversion.
