pub enum ProbarError {
Show 34 variants
BrowserNotFound,
BrowserLaunchError {
message: String,
},
ConnectionFailed {
message: String,
},
PageError {
message: String,
},
NavigationError {
url: String,
message: String,
},
Timeout {
ms: u64,
},
TimeoutError {
message: String,
},
WasmError {
message: String,
},
InputError {
message: String,
},
ScreenshotError {
message: String,
},
ElementNotFound {
selector: String,
message: String,
},
AssertionFailed {
message: String,
},
AssertionError {
message: String,
},
SnapshotMismatch {
name: String,
difference: f64,
},
NavigationFailed {
url: String,
},
ImageComparisonError {
message: String,
},
ImageProcessing {
message: String,
},
InvalidState {
message: String,
},
VideoRecording {
message: String,
},
FixtureError {
message: String,
},
Io(Error),
Json(Error),
TuiError {
message: String,
},
SnapshotSerializationError {
message: String,
},
HtmlGeneration(String),
CssGeneration(String),
JsGeneration(String),
WebValidation(String),
PixelCoverage(String),
PerformanceTracing(String),
WasmRunner(String),
SerializationError {
message: String,
},
AvSyncError {
message: String,
},
FfmpegError {
message: String,
},
}Expand description
Errors that can occur in Probar
Variants§
BrowserNotFound
Browser executable not found
BrowserLaunchError
Browser launch error
ConnectionFailed
Connection to browser failed
PageError
Page error
Navigation error
Timeout
Operation timed out
TimeoutError
Timeout with message
WasmError
WASM evaluation error
InputError
Input simulation error
ScreenshotError
Screenshot error
ElementNotFound
Element not found error
AssertionFailed
Assertion failed
AssertionError
Assertion error (from expect())
SnapshotMismatch
Snapshot mismatch
Page navigation error (legacy)
ImageComparisonError
Image comparison error
ImageProcessing
Image processing error (resizing, encoding, etc.)
InvalidState
Invalid state error (operation called in wrong state)
VideoRecording
Video recording error
FixtureError
Fixture error (setup/teardown failed)
Io(Error)
I/O error
Json(Error)
JSON error
TuiError
TUI testing error (Feature 21 - EDD Compliance)
SnapshotSerializationError
Snapshot serialization error
HtmlGeneration(String)
HTML generation error (Feature E - Zero-JavaScript Policy)
CssGeneration(String)
CSS generation error (Feature E - Zero-JavaScript Policy)
JsGeneration(String)
JavaScript generation error (Feature E - Zero-JavaScript Policy)
WebValidation(String)
Web validation error (Feature E - Zero-JavaScript Policy)
PixelCoverage(String)
Pixel coverage error (Feature A - Pixel-Level GUI Coverage)
PerformanceTracing(String)
Performance tracing error (Feature C - Renacer Integration)
WasmRunner(String)
WASM runner error (Feature D - WASM Runner)
SerializationError
Serialization error (Issue #9 - Renacer Integration)
AvSyncError
AV sync verification error
FfmpegError
ffmpeg execution error
Trait Implementations§
Source§impl Debug for ProbarError
impl Debug for ProbarError
Source§impl Display for ProbarError
impl Display for ProbarError
Source§impl Error for ProbarError
impl Error for ProbarError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<Error> for ProbarError
impl From<Error> for ProbarError
Auto Trait Implementations§
impl Freeze for ProbarError
impl !RefUnwindSafe for ProbarError
impl Send for ProbarError
impl Sync for ProbarError
impl Unpin for ProbarError
impl UnsafeUnpin for ProbarError
impl !UnwindSafe for ProbarError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more