Skip to main content

code_emit_exception

Function code_emit_exception 

Source
pub fn code_emit_exception(source: &str, message: &str)
Expand description

Build and emit an Exception particle.

Convenience helper for native modules:

code_emit_exception("my-module", "Something went wrong");