error.rs 214 B

12345678
  1. #[derive(Debug, thiserror::Error)]
  2. pub enum Error {
  3. #[cfg(mobile)]
  4. #[error(transparent)]
  5. PluginInvoke(#[from] tauri::plugin::mobile::PluginInvokeError),
  6. }
  7. pub type Result<T> = std::result::Result<T, Error>;