MatrixSynapse/synapse/federation
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
..
transport Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py rename assert_params_in_request to assert_params_in_dict 2018-07-13 21:53:01 +02:00
federation_client.py Refactor code for turning HttpResponseException into SynapseError 2018-08-01 16:02:46 +01:00
federation_server.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
persistence.py run isort 2018-07-09 16:09:20 +10:00
send_queue.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
transaction_queue.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
units.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00