Module errors

Module errors 

Source
Expand description

Shared structured error types and panic shielding utilities.

Bindings should convert all fatal paths into this shape to keep cross-language error payloads consistent and avoid panics crossing FFI boundaries.

Structs§

StructuredError
Canonical error payload: { error, code, details }.

Functions§

shield_panic
Catch panics and convert to a structured error so they don’t cross FFI boundaries.