Detection of potential errors or system failures contributing to adverse events.