Expand description
WASM Error Handling Module
This module provides secure, consistent error handling for WASM bindings. It ensures all WASM functions return Result<T, JsValue> consistently and provides secure error conversion without information leakage.
Functionsยง
- convert_
result - Helper function to convert Result<T, Error> to Result<T, JsValue>
- error_
to_ js_ value - Convert Error to JsValue for WASM compatibility
- parse_
algorithm_ wasm - WASM-safe algorithm parsing that returns JsValue errors
- secure_
deserialize - Secure WASM deserialization helper
- secure_
serialize - Secure WASM serialization helper