Exception: BWA::InvalidMessage

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/bwa/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, data) ⇒ InvalidMessage

Returns a new instance of InvalidMessage.



10
11
12
13
# File 'lib/bwa/message.rb', line 10

def initialize(message, data)
  @raw_data = data
  super(message)
end

Instance Attribute Details

#raw_dataObject (readonly)

Returns the value of attribute raw_data.



8
9
10
# File 'lib/bwa/message.rb', line 8

def raw_data
  @raw_data
end