pub fn error_invalid_params(msg: &str) -> Value
Generates a RES protocol error indicating invalid parameters (e.g. HTTP bad request)