synapse-product/synapse/rest
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
..
client Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
consent run isort 2018-07-09 16:09:20 +10:00
key run isort 2018-07-09 16:09:20 +10:00
media Refactor code for turning HttpResponseException into SynapseError 2018-08-01 16:02:46 +01:00
__init__.py Move v1-only APIs into their own module & isolate deprecated ones (#3460) 2018-07-19 20:03:33 +10:00