forked-synapse/synapse/rest/media
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
..
v0 run isort 2018-07-09 16:09:20 +10:00
v1 Refactor code for turning HttpResponseException into SynapseError 2018-08-01 16:02:46 +01:00
__init__.py Move rest APIs back under the rest directory 2015-01-22 16:10:07 +00:00