Enum tauri_runtime::Error [−][src]
#[non_exhaustive] pub enum Error { CreateWebview(Box<dyn Error + Send>), CreateWindow, FailedToSendMessage, Json(Error), SystemTray(Box<dyn Error + Send>), InvalidIcon(Box<dyn Error + Send>), FailedToGetMonitor, GlobalShortcut(Box<dyn Error + Send>), }
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.
Failed to create webview.
Failed to create window.
Failed to send message to webview.
Json(Error)
Failed to serialize/deserialize.
This is supported on crate feature
system-tray
only.Encountered an error creating the app system tray.
Failed to load window icon.
Failed to get monitor on window operation.
Global shortcut error.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error