class Rookout::Exceptions::RookMessageSizeExceeded

Public Class Methods

new(message_size, max_message_size) click to toggle source
Calls superclass method Rookout::Exceptions::ToolException::new
# File lib/rookout/exceptions.rb, line 93
def initialize message_size, max_message_size
  super "Message size of #{message_size} exceeds max size limit of #{max_message_size}. " \
            "Change the depth of collection or change the default by setting ROOKOUT_MAX_MESSAGE_SIZE " \
            "as environment variable or system property",
        { "message_size" => message_size, "max_message_size" => max_message_size }
end