Type Alias rquickjs::CaughtResult

source ·
pub type CaughtResult<'js, T> = Result<T, CaughtError<'js>>;
Expand description

Result type containing an the JavaScript exception if there was one.

Aliased Type§

enum CaughtResult<'js, T> {
    Ok(T),
    Err(CaughtError<'js>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CaughtError<'js>)

Contains the error value