use wdc::WdcError;
#[derive(Debug)]
pub enum WdaError {
BrowserBinaryNotFound,
RendNotSupported,
FetchToolBuggy,
FetchToolNotFound,
ExtractToolBuggy,
ExtractToolNotFound,
RenameToolBuggy,
RenameToolNotFound,
FetchWebDriver(i32),
ExtractWebDriver(i32),
PlaceWebDriver(i32),
PermitWebDriver(i32),
PlockDataCorrupt,
WdaDataNotFound,
WdaLockNotFound,
BrowserProfileRootNotFound,
BrowserProfileSubNotFound,
InvalidBrowserProfileSub,
InvalidBrowserProfileId,
ExistProfileNotFound,
WdcNotReady(WdcError, u16),
WdcFail(WdcError),
Base64DataCorrupt(base64::DecodeSliceError),
InternetConnection,
InvalidUrl,
InvalidSocks5Proxy,
UnsupportedAutomation,
Buggy,
BugFound(u16),
}
pub type Result<T> = core::result::Result<T, WdaError>;