#[cfg(feature = "shortint-client-js-wasm-api")]
mod shortint;
#[cfg(feature = "boolean-client-js-wasm-api")]
mod boolean;
#[allow(unused_imports)]
#[cfg(feature = "parallel-wasm-api")]
pub use wasm_bindgen_rayon::init_thread_pool;
#[cfg(feature = "integer-client-js-wasm-api")]
mod js_high_level_api;
pub(crate) fn into_js_error<E: std::fmt::Debug>(e: E) -> wasm_bindgen::JsError {
wasm_bindgen::JsError::new(format!("{e:?}").as_str())
}