feat: portable version of hoppscotch-agent (#4468)

This commit is contained in:
Shreyas
2024-10-24 15:46:20 +05:30
committed by GitHub
parent f52219bb95
commit bd7bd97809
14 changed files with 1018 additions and 148 deletions

View File

@@ -0,0 +1,15 @@
use std::io;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum WebViewError {
#[error("Failed to open URL: {0}")]
UrlOpen(#[from] io::Error),
#[error("Failed to download WebView2 installer: {0}")]
Download(String),
#[error("WebView2 installation failed: {0}")]
Installation(String),
#[error("Failed during request: {0}")]
Request(#[from] tauri_plugin_http::reqwest::Error),
}