Exception: MaxCube::Messages::InvalidMessageType

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

Instance Method Summary collapse

Constructor Details

#initialize(msg_type, info = 'invalid message type') ⇒ InvalidMessageType

Returns a new instance of InvalidMessageType.



26
27
28
# File 'lib/maxcube/messages.rb', line 26

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