pub fn write_upload_error(error: Error, output: &mut impl Write) -> Result<()>Expand description
Write a terminal v0 ERR packet as a replacement for a failed buffered upload response. Discard the failed response first. No backend details are exposed. Hosts own the HTTP status; never append this to a partial raw pack.