How do you validate proper error handling in an application?

Technical