Exception: Rookout::Exceptions::RookMessageSizeExceeded
- Inherits:
-
ToolException
- Object
- RuntimeError
- ToolException
- Rookout::Exceptions::RookMessageSizeExceeded
- Defined in:
- lib/rookout/exceptions.rb
Instance Attribute Summary
Attributes inherited from ToolException
Instance Method Summary collapse
-
#initialize(message_size, max_message_size) ⇒ RookMessageSizeExceeded
constructor
A new instance of RookMessageSizeExceeded.
Constructor Details
#initialize(message_size, max_message_size) ⇒ RookMessageSizeExceeded
Returns a new instance of RookMessageSizeExceeded.
90 91 92 93 94 95 |
# File 'lib/rookout/exceptions.rb', line 90 def initialize , super "Message size of #{} exceeds max size limit of #{}. " \ "Change the depth of collection or change the default by setting ROOKOUT_MAX_MESSAGE_SIZE " \ "as environment variable or system property", { "message_size" => , "max_message_size" => } end |