Class: ActiveCypher::Bolt::Messaging::Failure

Inherits:
MetadataMessage show all
Defined in:
lib/active_cypher/bolt/messaging.rb

Overview

The FAILURE message. The most honest message in the protocol.

Constant Summary collapse

SIGNATURE =
0x7F

Instance Attribute Summary

Attributes inherited from Message

#fields, #signature

Instance Method Summary collapse

Methods inherited from MetadataMessage

#initialize, #metadata

Methods inherited from Message

#==, inherited, #initialize

Constructor Details

This class inherits a constructor from ActiveCypher::Bolt::Messaging::MetadataMessage

Instance Method Details

#codeObject



225
226
227
# File 'lib/active_cypher/bolt/messaging.rb', line 225

def code
  ['code']
end

#messageObject



229
230
231
# File 'lib/active_cypher/bolt/messaging.rb', line 229

def message
  ['message']
end