Skip to main content

raise_error

Function raise_error 

Source
pub fn raise_error(code: &str, message: &str) -> Error
Expand description

Builds the marker-prefixed wasmtime::Error the classifier will parse. Extracted so the special form’s compile-time tests can assert the exact wire format without spinning up a wasm engine.