Exception: Yogo::Operation::OperationError
- Inherits:
-
StandardError
- Object
- StandardError
- Yogo::Operation::OperationError
- Extended by:
- Forwardable
- Defined in:
- lib/yogo/operation/error.rb
Direct Known Subclasses
Closed::OperationNotClosedError, Restricted::OperationRestrictionError
Instance Attribute Summary collapse
-
#information ⇒ Object
readonly
Returns the value of attribute information.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OperationError
constructor
A new instance of OperationError.
Constructor Details
#initialize(options = {}) ⇒ OperationError
Returns a new instance of OperationError.
12 13 14 15 16 17 18 |
# File 'lib/yogo/operation/error.rb', line 12 def initialize(={}) = .delete(:message) @information = OpenStruct.new() @information.freeze ? super() : super() end |
Instance Attribute Details
#information ⇒ Object (readonly)
Returns the value of attribute information.
7 8 9 |
# File 'lib/yogo/operation/error.rb', line 7 def information @information end |