error.rs 356 B

123456789101112
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. #[derive(Debug, thiserror::Error)]
  5. pub enum Error {
  6. #[cfg(mobile)]
  7. #[error(transparent)]
  8. PluginInvoke(#[from] tauri::plugin::mobile::PluginInvokeError),
  9. }
  10. pub type Result<T> = std::result::Result<T, Error>;