1//! [`Result`] wrapping the [`Error`](crate::error::Error) enum variants produced by this crate. 2 3pub type Result<T> = std::result::Result<T, crate::error::Error>; 4pub type JsResult<T> = std::result::Result<T, wasm_bindgen::JsValue>;