If the RPC server is down and an http client tries to make a request, the response from the http client is an Error object rather than an object with the field "error." This means that the error doesn't actually get properly returned to the callback.
If the RPC server is down and an http client tries to make a request, the response from the http client is an Error object rather than an object with the field "error." This means that the error doesn't actually get properly returned to the callback.
I made a fix: https://github.com/uber/multitransport-jsonrpc/pull/72