Display alerts on error.