Type Alias ErrorResult

Source
pub(crate) type ErrorResult = Result<(), Error>;
Expand description

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

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value