Function map_js_error

Source
pub fn map_js_error<T: Debug + AsRef<JsValue>>(
    hint: &'static str,
) -> impl Fn(T) -> Error