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.



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

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



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

def code
  @code
end

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end