error

Function error 

Source
pub fn error(
    code: i32,
    message: &str,
    id: Option<Value>,
) -> Result<String, String>