Skip to main content

error

Function error 

Source
pub fn error(kind: &str, message: &str) -> Value
Expand description

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.