Exception: Neo4j::Server::CypherResponse::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Neo4j::Server::CypherResponse::ResponseError
- Defined in:
- lib/neo4j-server/cypher_response.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(msg, status, code) ⇒ ResponseError
constructor
A new instance of ResponseError.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
7 8 9 |
# File 'lib/neo4j-server/cypher_response.rb', line 7 def code @code end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
7 8 9 |
# File 'lib/neo4j-server/cypher_response.rb', line 7 def status @status end |