Skip to main content

err_packet

Function err_packet 

Source
pub fn err_packet(out: &mut dyn Write, message: &str) -> Result<()>
Expand description

Send an ERR <message> pkt-line, the way a v0 server reports a fatal condition before any sideband exists. Public for the transport’s first-repository door, which refuses in the client’s own protocol after the advertisement and before any sideband.