pub fn handle_error( ctx: &EventHandlerContext<'_>, message: Option<String>, error: Option<String>, ) -> String