mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
13 lines
356 B
Rust
13 lines
356 B
Rust
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum Error {
|
|
#[cfg(mobile)]
|
|
#[error(transparent)]
|
|
PluginInvoke(#[from] tauri::plugin::mobile::PluginInvokeError),
|
|
}
|
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|