Exception: Yogo::Operation::Restricted::OperationRestrictionError

Inherits:
OperationError
  • Object
show all
Defined in:
lib/yogo/operation/restricted/error.rb

Instance Attribute Summary

Attributes inherited from OperationError

#information

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ OperationRestrictionError

Returns a new instance of OperationRestrictionError.



9
10
11
12
# File 'lib/yogo/operation/restricted/error.rb', line 9

def initialize(options)
  options[:message] ||= "The Operation cannot be applied to an argument of this type!"
  super(options)
end