Skip to main content

error_response_with_data

Function error_response_with_data 

Source
pub fn error_response_with_data(
    id: impl Into<Value>,
    code: i64,
    message: &str,
    data: Value,
) -> Value
Expand description

Build a JSON-RPC 2.0 error response with additional data.