Skip to main content

create_error_response

Function create_error_response 

Source
pub fn create_error_response(
    id: Option<Value>,
    code: i32,
    message: &str,
) -> String
Expand description

Format an error JSON-RPC response