Exception: Rookout::Exceptions::RookObjectCannotBeSerialized

Inherits:
ToolException
  • Object
show all
Defined in:
lib/rookout/exceptions.rb

Instance Attribute Summary

Attributes inherited from ToolException

#parameters

Instance Method Summary collapse

Constructor Details

#initialize(object, message) ⇒ RookObjectCannotBeSerialized

Returns a new instance of RookObjectCannotBeSerialized.



164
165
166
# File 'lib/rookout/exceptions.rb', line 164

def initialize object, message
  super message, { "class" => object.class.to_s }
end