Throw exception on RPC error

You can throw an exception if you receive an RPC error response by attaching a
subscriber to either the client or the request. You probably won't want to do so
with batch requests as the exception will only include the first bad response in
your batch.