//! WASM error type generation.
//!
//! WASM error conversion is handled by `alef_codegen::error_gen::gen_wasm_error_converter`.
//! This module is a thin re-export shim so the gen_bindings structure is consistent
//! across all backends.
/// Generate a WASM error converter for a single error type.
///
/// Delegates to `alef_codegen::error_gen::gen_wasm_error_converter`.
pub
/// Generate an opaque WASM struct + `#[wasm_bindgen] impl` block for the
/// whitelisted introspection methods on an error type.
///
/// Delegates to `alef_codegen::error_gen::gen_wasm_error_methods`.
/// Returns an empty string when `error.methods` is empty.
pub