Exception: Neo4j::Driver::Exceptions::Value::Uncoercible

Inherits:
ValueException show all
Defined in:
lib/neo4j/driver/exceptions/value/uncoercible.rb

Overview

A Uncoercible exception indicates that the conversion cannot be achieved.

Since:

  • 1.0

Instance Attribute Summary

Attributes inherited from Neo4jException

#code, #suppressed

Instance Method Summary collapse

Methods inherited from ClientException

unable_to_convert

Methods inherited from Neo4jException

#add_suppressed

Constructor Details

#initialize(source_type_name, destination_type_name) ⇒ Uncoercible

Returns a new instance of Uncoercible.

Since:

  • 1.0



8
9
10
# File 'lib/neo4j/driver/exceptions/value/uncoercible.rb', line 8

def initialize(source_type_name, destination_type_name)
  super("Cannot coerce #{source_type_name} to #{destination_type_name}")
end