Exception: MaxCube::Messages::InvalidMessageBody

Inherits:
InvalidMessage
  • Object
show all
Defined in:
lib/maxcube/messages.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg_type, info = 'invalid format') ⇒ InvalidMessageBody

Returns a new instance of InvalidMessageBody.



38
39
40
# File 'lib/maxcube/messages.rb', line 38

def initialize(msg_type, info = 'invalid format')
  super("message type #{msg_type}: #{info}")
end