Parse and display error messages from server (GET and POST).