fn parse_alert_handler(x: &str) -> Result<AlertHandler>