Skip to main content

error

Function error 

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

Build a JSON-RPC error envelope echoing the request id.