Skip to main content

emit_error_with

Function emit_error_with 

Source
pub fn emit_error_with<W: Write>(
    writer: &mut W,
    code: &str,
    message: &str,
    fields: Value,
    trace: Value,
) -> Result<(), Error>
Expand description

Emit an error event with caller-owned extension fields and trace.