// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use ;
/// Alias for a [`Result`](std::result::Result) with the error type [`Error`].
pub type Result<T> = Result;
/// Errors returned by the plugin commands.
///
/// Every variant serializes to its [`Display`](std::fmt::Display) text, so a
/// JavaScript caller receives a readable string in the rejected promise.