Skip to main content

write_runtime_error

Function write_runtime_error 

Source
pub fn write_runtime_error<W: Write>(
    error: &RuntimeError,
    json: bool,
    output: &mut W,
) -> Result<(), Error>
Expand description

Writes a runtime error for humans or agents.

ยงErrors

Returns an I/O error if writing to the output stream fails.