mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-11 12:37:34 +02:00
Allow js to use pre-stored (de)serialize functions
This commit is contained in:
@@ -24,6 +24,12 @@ pub enum Error {
|
||||
/// Store already exists
|
||||
#[error("Store at \"{0}\" already exists")]
|
||||
AlreadyExists(PathBuf),
|
||||
/// Serialize function not found
|
||||
#[error("Serialize Function \"{0}\" not found")]
|
||||
SerializeFunctionNotFound(String),
|
||||
/// Deserialize function not found
|
||||
#[error("Deserialize Function \"{0}\" not found")]
|
||||
DeserializeFunctionNotFound(String),
|
||||
/// Some Tauri API failed
|
||||
#[error(transparent)]
|
||||
Tauri(#[from] tauri::Error),
|
||||
|
||||
Reference in New Issue
Block a user