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.