Skip to main content

error

Function error 

Source
pub fn error(code: &str, text: &str) -> Result<Vec<u8>, String>
Expand description

An ERROR packet. The code is an identifier (letters, digits, _) and the text one line without NULs, so neither can add an argument or a packet.