0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 18:54:36 +01:00
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