Exception: Rookout::Exceptions::RookInvalidObjectForAccess
- Inherits:
-
ToolException
- Object
- RuntimeError
- ToolException
- Rookout::Exceptions::RookInvalidObjectForAccess
- Defined in:
- lib/rookout/exceptions.rb
Instance Attribute Summary
Attributes inherited from ToolException
Instance Method Summary collapse
-
#initialize(object_type, access) ⇒ RookInvalidObjectForAccess
constructor
A new instance of RookInvalidObjectForAccess.
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 |