class Relaxo::QueryServer::ReducingProcess
Call the reduction function, and if it fails, respond with an error message.
Public Instance Methods
evaluate(*args)
click to toggle source
# File lib/relaxo/query_server/reducer.rb, line 28 def evaluate(*args) begin call(*args) rescue Exception => exception # If the mapping function throws an error, report the error for this document: @context.error_for_exception(exception) end end