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.



46
47
48
49
50
# File 'lib/neo4j/session.rb', line 46

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.



45
46
47
# File 'lib/neo4j/session.rb', line 45

def error_code
  @error_code
end

#error_msgObject (readonly)

Returns the value of attribute error_msg.



45
46
47
# File 'lib/neo4j/session.rb', line 45

def error_msg
  @error_msg
end

#error_statusObject (readonly)

Returns the value of attribute error_status.



45
46
47
# File 'lib/neo4j/session.rb', line 45

def error_status
  @error_status
end