Skip to main content

error_response_with_data

Function error_response_with_data 

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

Build a JSON-RPC error response with extra data.