Enum tauri_bundler::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 23 variants
Resource(Error),
BundlerError(Error),
IoError(Error),
ImageError(ImageError),
TomlError(Error),
WalkdirError(Error),
StripError(StripPrefixError),
ConvertError(TryFromIntError),
HandleBarsError(RenderError),
JsonError(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
Resource(Error)
Error running tauri_utils API.
BundlerError(Error)
Bundler error.
IoError(Error)
I/O error.
ImageError(ImageError)
Image error.
TomlError(Error)
TOML error.
WalkdirError(Error)
Error walking directory.
StripError(StripPrefixError)
Strip prefix error.
ConvertError(TryFromIntError)
Number parse error.
HandleBarsError(RenderError)
Handlebars template error.
JsonError(Error)
JSON error.
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
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<ImageError> for Error
impl From<ImageError> for Error
sourcefn from(source: ImageError) -> Self
fn from(source: ImageError) -> Self
Converts to this type from the input type.
sourceimpl From<RenderError> for Error
impl From<RenderError> for Error
sourcefn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
sourceimpl From<StripPrefixError> for Error
impl From<StripPrefixError> for Error
sourcefn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromIntError> for Error
impl From<TryFromIntError> for Error
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more