Type Alias script::dom::bindings::error::ErrorResult

source ·
pub type ErrorResult = Result<(), Error>;
Expand description

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

Aliased Type§

enum ErrorResult {
    Ok(()),
    Err(Error),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value