pub struct WebError {
pub message: Option<String>,
pub stack: Option<String>,
pub url: Option<String>,
pub line_number: Option<i64>,
pub column_number: Option<i64>,
}Expand description
An error thrown from page JavaScript (e.g. an unhandled exception or a
rejected promise observed via Runtime.exceptionThrown).
Self-contained DTO mirroring the useful fields of CDP’s
Runtime.exceptionThrown payload.
Fields§
§message: Option<String>Top-level message, if any.
stack: Option<String>The stack trace, if any.
url: Option<String>The script where it originated, if known.
line_number: Option<i64>1-based line/column, if known.
column_number: Option<i64>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebError
impl RefUnwindSafe for WebError
impl Send for WebError
impl Sync for WebError
impl Unpin for WebError
impl UnsafeUnpin for WebError
impl UnwindSafe for WebError
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
Mutably borrows from an owned value. Read more