Skip to main content

extract_browser_url/
error.rs

1use thiserror::Error;
2
3#[derive(Error,Debug)]
4pub enum BrowserError {
5    #[error("unable to find any running browser")]
6    FailedFindBrowser,
7    #[error("there's no url")]
8    FailedExtractUrl,
9    #[error("failed to find the url UI")]
10    FailedFindUrlUI,
11    #[error("failed to enum visible window")]
12    FailedEnumWindow,
13}