class MaxCube::Messages::InvalidMessageType
Exception class that denotes unrecognized message type.
Public Class Methods
new(msg_type, info = 'invalid message type')
click to toggle source
@param msg_type type of message that is being parsed/serialized. @param info contains context information to occured error.
Calls superclass method
# File lib/maxcube/messages.rb, line 37 def initialize(msg_type, info = 'invalid message type') super("#{info}: #{msg_type}") end