Exception: Neo4j::Driver::Exceptions::Value::LossyCoercion
- Inherits:
-
ValueException
- Object
- RuntimeError
- Neo4jException
- ClientException
- ValueException
- Neo4j::Driver::Exceptions::Value::LossyCoercion
- Defined in:
- lib/neo4j/driver/exceptions/value/lossy_coercion.rb
Overview
A LossyCoercion exception indicates that the conversion cannot be achieved without losing precision.
Instance Attribute Summary
Attributes inherited from Neo4jException
Instance Method Summary collapse
-
#initialize(source_type_name, destination_type_name) ⇒ LossyCoercion
constructor
A new instance of LossyCoercion.
Methods inherited from ClientException
Methods inherited from Neo4jException
Constructor Details
#initialize(source_type_name, destination_type_name) ⇒ LossyCoercion
Returns a new instance of LossyCoercion.
8 9 10 |
# File 'lib/neo4j/driver/exceptions/value/lossy_coercion.rb', line 8 def initialize(source_type_name, destination_type_name) super("Cannot coerce #{source_type_name} to #{destination_type_name} without losing precision") end |