pub type ElementResult<T> = Result<T, JsValue>;
enum ElementResult<T> { Ok(T), Err(JsValue), }
Contains the success value
Contains the error value