ai error management for leaders