Exception: MaxCube::Messages::InvalidMessageLength

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

Overview

Exception class that denotes that message is too short/long.

Instance Method Summary collapse

Constructor Details

#initialize(info = 'invalid message length') ⇒ InvalidMessageLength

Returns a new instance of InvalidMessageLength.

Parameters:

  • info (defaults to: 'invalid message length')

    contains context information to occured error.



28
29
30
# File 'lib/maxcube/messages.rb', line 28

def initialize(info = 'invalid message length')
  super
end