Skip to main content

err

Function err 

Source
pub fn err(
    id: Option<RpcId>,
    code: i32,
    message: String,
    data: Option<Value>,
) -> RpcResponse
Expand description

Create an error JSON-RPC response.