friendly error message for http output