Adding a new method of reading/validating error messages.