The Anatomy of an Error: Dissecting Mistakes to Build Safer Systems