Exception: Neo4j::Driver::Exceptions::ProtocolException

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

Overview

A signal that the contract for client-server communication has broken down. The user should contact support and cannot resolve this his or herself.

Constant Summary collapse

CODE =
"Protocol violation: "

Instance Attribute Summary

Attributes inherited from Neo4jException

#code, #suppressed

Instance Method Summary collapse

Methods inherited from Neo4jException

#add_suppressed

Constructor Details

#initialize(message, e = nil) ⇒ ProtocolException

Returns a new instance of ProtocolException.



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

def initialize(message, e = nil)
  super(nil, "#{CODE}#{message}", e)
end