Skip to main content

write_error_report

Function write_error_report 

Source
pub fn write_error_report(path: &Path, report: &Value) -> i32
Expand description

Writes one structured error report as an append-only JSONL record.

§Parameters

§Returns

Returns the computed value produced by crate::http::write_error_report.

§Examples

ⓘ
let _result = pharos_runtime_core::http::write_error_report(std::path::Path::new("fixture.json"), todo!());
  • crate::http for adjacent helpers that share the same runtime surface.