pub trait HandleError {
type Output;
// Required method
fn handle_error(self) -> Result<Self::Output, JsValue>;
}pub trait HandleError {
type Output;
// Required method
fn handle_error(self) -> Result<Self::Output, JsValue>;
}