class MaxCube::Messages::InvalidMessageBody
Exception class that denotes that an error occured while parsing/serializing message body, which is specific to message type.
Public Class Methods
new(msg_type, info = 'invalid format')
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 56 def initialize(msg_type, info = 'invalid format') super("message type #{msg_type}: #{info}") end