Start to use more modern features of our error-throwing tools. Do a better job of surfacing error content that comes as HTML, which is gross, but happens.
Fixes #254
(This only deals with errors in the response processing domain. Wiring call into the auth part of gargle would be harder and have less payoff, since the vast majority of usage happens via token_fetch() which silently swallows errors. So it's not clear if I will ever do that.)
Start to use more modern features of our error-throwing tools. Do a better job of surfacing error content that comes as HTML, which is gross, but happens.
Fixes #254
(This only deals with errors in the response processing domain. Wiring
call
into the auth part of gargle would be harder and have less payoff, since the vast majority of usage happens viatoken_fetch()
which silently swallows errors. So it's not clear if I will ever do that.)