Exception: Rookout::Exceptions::RookNonPrimitiveObjectType

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(path) ⇒ RookNonPrimitiveObjectType

Returns a new instance of RookNonPrimitiveObjectType.



83
84
85
86
# File 'lib/rookout/exceptions.rb', line 83

def initialize path
  super "Object #{path} must be of primitive type, such as: string, int, long etc",
        { "path" => path }
end