Standardized patients and simulated error scenarios were used to teach family medicine residents about error detection, error disclosure, and root cause analysis.