Class: PostgresPR::UnknownMessageType

Inherits:
Message
  • Object
show all
Defined in:
lib/postgres-pr/message.rb

Constant Summary

Constants inherited from Message

Message::MsgTypeMap

Instance Method Summary collapse

Methods inherited from Message

create, #dump, dump, read, register_message_type

Instance Method Details

#parse(buffer) ⇒ Object

Raises:



72
73
74
# File 'lib/postgres-pr/message.rb', line 72

def parse(buffer)
  raise PGError, "unable to parse message type: #{buffer.content.inspect}" 
end