Check for the error message