Exception: Neo4j::Driver::Exceptions::ClientException

Inherits:
Neo4jException
  • Object
show all
Defined in:
lib/neo4j/driver/exceptions/client_exception.rb

Overview

A ClientException indicates that the client has carried out an operation incorrectly. The error code provided can be used to determine further detail for the problem.

Since:

  • 1.0

Instance Attribute Summary

Attributes inherited from Neo4jException

#code, #suppressed

Class Method Summary collapse

Methods inherited from Neo4jException

#add_suppressed, #initialize

Constructor Details

This class inherits a constructor from Neo4j::Driver::Exceptions::Neo4jException

Class Method Details

.unable_to_convert(object) ⇒ Object

Raises:

  • (self)

Since:

  • 1.0



11
12
13
# File 'lib/neo4j/driver/exceptions/client_exception.rb', line 11

def unable_to_convert(object)
  raise self, "Unable to convert #{object.class.name} to Neo4j Value."
end