Revert "Added error messages"

This reverts commit f5d13dc569ad3de22088f76881ff9b9adc932cb3.