#[wasm_bindgen(js_name = "{{ camel }}")]
pub fn {{ unregister_fn }}(name: String) -> Result<(), wasm_bindgen::JsValue> {
    {{ host_path }}(&name).map_err(|e| wasm_bindgen::JsValue::from_str(&e.to_string()))
}
