pub fn invalid_params_msg(param: &str) -> ErrorObjectOwned