use serde::Serialize;
#[derive(Debug, thiserror::Error, Serialize)]
pub enum TauriServerError {
#[error("Handler not found: {0}")]
HandlerNotFound(String),
#[error("Execution failed: {0}")]
ExecutionFailed(String),
#[error("Not a streaming handler: {0}")]
NotStreamingHandler(String),
}