Error messages are alerted