Exception: Neo4j::Session::CypherError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/neo4j/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_msg, error_code, error_status) ⇒ CypherError

Returns a new instance of CypherError.



41
42
43
44
45
# File 'lib/neo4j/session.rb', line 41

def initialize(error_msg, error_code, error_status)
  super(error_msg)
  @error_msg = error_msg
  @error_status = error_status
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



40
41
42
# File 'lib/neo4j/session.rb', line 40

def error_code
  @error_code
end

#error_msgObject (readonly)

Returns the value of attribute error_msg.



40
41
42
# File 'lib/neo4j/session.rb', line 40

def error_msg
  @error_msg
end

#error_statusObject (readonly)

Returns the value of attribute error_status.



40
41
42
# File 'lib/neo4j/session.rb', line 40

def error_status
  @error_status
end