expose more meta information on HTTP errors