pub fn error(kind: &str, message: &str) -> Value
An error as JSON: its kind, its message, a hint (the command that documents what was wrong) and, for a misspelt block or parameter, the closest name.