Create error messages and provide a method for retrieving the text of
them.
