Exception: Neo4j::Server::CypherResponse::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/neo4j-server/cypher_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, status, code) ⇒ ResponseError

Returns a new instance of ResponseError.



8
9
10
11
12
# File 'lib/neo4j-server/cypher_response.rb', line 8

def initialize(msg, status, code)
  super(msg)
  @status = status
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



6
7
8
# File 'lib/neo4j-server/cypher_response.rb', line 6

def code
  @code
end

#statusObject (readonly)

Returns the value of attribute status.



6
7
8
# File 'lib/neo4j-server/cypher_response.rb', line 6

def status
  @status
end