Function send_error

Source
pub fn send_error<S: Into<String>>(
    id: Option<i64>,
    code: i64,
    msg: S,
) -> Result<(), LSError>