Struct chrome_remote_interface_model::runtime::ExceptionDetailsBuilder[][src]

pub struct ExceptionDetailsBuilder { /* fields omitted */ }

Implementations

impl ExceptionDetailsBuilder[src]

pub fn exception_id(&mut self, v: u32) -> &mut Self[src]

Exception id.

pub fn text(&mut self, v: String) -> &mut Self[src]

Exception text, which should be used together with exception object when available.

pub fn line_number(&mut self, v: u32) -> &mut Self[src]

Line number of the exception location (0-based).

pub fn column_number(&mut self, v: u32) -> &mut Self[src]

Column number of the exception location (0-based).

pub fn script_id(&mut self, v: ScriptId) -> &mut Self[src]

Script ID of the exception location.

pub fn url(&mut self, v: String) -> &mut Self[src]

URL of the exception location, to be used when the script was not reported.

pub fn stack_trace(&mut self, v: StackTrace) -> &mut Self[src]

JavaScript stack trace if available.

pub fn exception(&mut self, v: RemoteObject) -> &mut Self[src]

Exception object if available.

pub fn execution_context_id(&mut self, v: ExecutionContextId) -> &mut Self[src]

Identifier of the context where exception happened.

pub fn build(&mut self) -> Result<ExceptionDetails, &'static str>[src]

Trait Implementations

impl Clone for ExceptionDetailsBuilder[src]

impl Debug for ExceptionDetailsBuilder[src]

impl Default for ExceptionDetailsBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.