module PipeRpc class Client::Request::Result def initialize(request) @request = request end def value=(result) @received = true @value = result end def received? @received end def value if @value.is_a? Exception @value.set_backtrace(@value.backtrace.to_a + @request.stacktrace) if @value.respond_to? :set_backtrace raise @value else DeepMapper.from_transport(@value, @request.hub) end end end end