Exception: Neo4jBolt::UnexpectedServerResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/neo4j_bolt.rb

Instance Method Summary collapse

Constructor Details

#initialize(token) ⇒ UnexpectedServerResponse

Returns a new instance of UnexpectedServerResponse.



57
58
59
# File 'lib/neo4j_bolt.rb', line 57

def initialize(token)
    @token = token
end

Instance Method Details

#to_sObject



61
62
63
# File 'lib/neo4j_bolt.rb', line 61

def to_s
    BOLT_MARKER_LABELS[@token]
end