Richard van der Hoff 018d75a148 Refactor code for turning HttpResponseException into SynapseError
This commit replaces SynapseError.from_http_response_exception with
HttpResponseException.to_synapse_error.

The new method actually returns a ProxiedRequestError, which allows us to pass
through additional metadata from the API call.
2018-08-01 16:02:46 +01:00
..
2016-01-07 04:26:29 +00:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00
2018-07-16 13:57:33 +02:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00
2018-07-09 16:09:20 +10:00