diff --git a/kb_demo_app/src/lib.rs b/kb_demo_app/src/lib.rs index 8cb6f95..02d9c23 100644 --- a/kb_demo_app/src/lib.rs +++ b/kb_demo_app/src/lib.rs @@ -49,7 +49,7 @@ struct AppState { /// Runs the desktop application. #[cfg_attr(mobile, tauri::mobile_entry_point)] -pub async fn run() -> Result<(), kb_lib::KhError> { +pub async fn run() -> Result<(), kb_lib::Error> { let config_path = kb_lib::Config::default_path(); let config_result = kb_lib::Config::load_from_path(&config_path); let config = match config_result { @@ -222,7 +222,7 @@ pub async fn run() -> Result<(), kb_lib::KhError> { let run_result = tauri_builder.run(tauri::generate_context!()); if let Err(error) = run_result { tracing::error!("error while running tauri application: {error:?}"); - return Err(kb_lib::KhError::InvalidState(format!( + return Err(kb_lib::Error::InvalidState(format!( "error while running tauri application: {error:?}" ))); }