Exception: Yogo::Operation::Closed::OperationNotClosedError
- Inherits:
-
OperationError
- Object
- StandardError
- OperationError
- Yogo::Operation::Closed::OperationNotClosedError
- Defined in:
- lib/yogo/operation/closed/error.rb
Instance Attribute Summary
Attributes inherited from OperationError
Instance Method Summary collapse
-
#initialize(options) ⇒ OperationNotClosedError
constructor
A new instance of OperationNotClosedError.
Constructor Details
#initialize(options) ⇒ OperationNotClosedError
Returns a new instance of OperationNotClosedError.
8 9 10 11 12 |
# File 'lib/yogo/operation/closed/error.rb', line 8 def initialize() [:message] ||= "The Operation is not closed! The argument and result of the operation were not of the same type." [:expected_type] ||= [:argument].class super() end |