pub fn to_jsonrpsee_error_object(
    err: impl ToString,
    message: &str
) -> ErrorObjectOwned
Expand description

Creates an jsonrpsee ErrorObject