add basic handling of ERROR messages; handle CALL ERRORs