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

- (CypherError) initialize(error_msg, error_code, error_status)

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

- (Object) error_code (readonly)

Returns the value of attribute error_code



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

def error_code
  @error_code
end

- (Object) error_msg (readonly)

Returns the value of attribute error_msg



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

def error_msg
  @error_msg
end

- (Object) error_status (readonly)

Returns the value of attribute error_status



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

def error_status
  @error_status
end