Enum tauri_bundler::Error
source · #[non_exhaustive]pub enum Error {
Show 25 variants
Resource(Error),
BundlerError(Error),
IoError(Error),
ImageError(ImageError),
WalkdirError(Error),
StripError(StripPrefixError),
ConvertError(TryFromIntError),
ZipError(ZipError),
HexError(FromHexError),
HandleBarsError(RenderError),
JsonError(Error),
HttpError(Box<Error>),
HashError,
ArchError(String),
IconPathError,
PathUtilError(String),
ShellScriptError(String),
GenericError(String),
UnableToFindProject,
Utf8(Utf8Error),
SignToolNotFound,
OpenRegistry(String),
GetRegistryValue(String),
UnsupportedBitness,
Sign(String),
}
Expand description
Errors returned by the bundler.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Resource(Error)
Error running tauri_utils API.
BundlerError(Error)
Bundler error.
IoError(Error)
I/O error.
ImageError(ImageError)
Image error.
WalkdirError(Error)
Error walking directory.
StripError(StripPrefixError)
Strip prefix error.
ConvertError(TryFromIntError)
Number parse error.
ZipError(ZipError)
Zip error.
HexError(FromHexError)
Hex error.
HandleBarsError(RenderError)
Handlebars template error.
JsonError(Error)
JSON error.
HttpError(Box<Error>)
Failed to perform HTTP request.
HashError
Failed to validate downloaded file hash.
ArchError(String)
Unsupported architecture.
IconPathError
Couldn’t find icons.
PathUtilError(String)
Error on path util operation.
ShellScriptError(String)
Error on shell script.
GenericError(String)
Generic error.
UnableToFindProject
No bundled project found for the updater.
Utf8(Utf8Error)
String is not UTF-8.
SignToolNotFound
Windows SignTool not found.
OpenRegistry(String)
Failed to open Windows registry.
GetRegistryValue(String)
Failed to get registry value.
UnsupportedBitness
Unsupported OS bitness.
Sign(String)
Failed to sign application.
Trait Implementations§
source§impl Error for Error
impl Error for Error
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<FromHexError> for Error
impl From<FromHexError> for Error
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<ImageError> for Error
impl From<ImageError> for Error
source§fn from(source: ImageError) -> Self
fn from(source: ImageError) -> Self
Converts to this type from the input type.
source§impl From<RenderError> for Error
impl From<RenderError> for Error
source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
source§impl From<StripPrefixError> for Error
impl From<StripPrefixError> for Error
source§fn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for Error
impl From<TryFromIntError> for Error
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more