Function server::net::send_error_package [] [src]

pub fn send_error_package<W: Write>(stream: &mut W, err: ClientErrMsg) -> Result<(), Error>

Send error package with given error code status.