Method: RestGraph::DefaultAttributes#default_error_handler

Defined in:
lib/rest-graph.rb

#default_error_handlerObject



63
64
65
# File 'lib/rest-graph.rb', line 63

def default_error_handler
  lambda{ |error| raise ::RestGraph::Error.new(error) }
end