Method: ActiveGraph::Core::Query#raise_if_cypher_error!

Defined in:
lib/active_graph/core/query.rb

#raise_if_cypher_error!(response) ⇒ Object



241
242
243
# File 'lib/active_graph/core/query.rb', line 241

def raise_if_cypher_error!(response)
  response.raise_cypher_error if response.respond_to?(:error?) && response.error?
end