Added error alert
Added suport for error alert messages