Skip to main content

emit_host_error

Function emit_host_error 

Source
pub fn emit_host_error(err: &HostError) -> Result<String, EmitError>
Expand description

Serialize a wyvern_host::HostError as stderr JSON (REQ-0073).

§Errors

Returns EmitError::Serialize when the envelope cannot be serialized.