Type Alias script::dom::bindings::error::Fallible

source ·
pub type Fallible<T> = Result<T, Error>;
Expand description

The return type for IDL operations that can throw DOM exceptions.

Aliased Type§

enum Fallible<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value