A framework for testing user inputs and generating error messages.