Exception: Rookout::Exceptions::RookInvalidObjectForAccess

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_type, access) ⇒ RookInvalidObjectForAccess

Returns a new instance of RookInvalidObjectForAccess.



56
57
58
59
# File 'lib/rookout/exceptions.rb', line 56

def initialize object_type, access
  super "Object #{object_type} does not support access #{access}",
        { object: object_type, access: access }
end