Exception: Flow::Operation::Failures::OperationFailure
- Inherits:
-
StandardError
- Object
- StandardError
- Flow::Operation::Failures::OperationFailure
- Defined in:
- lib/flow/operation/failures.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#problem ⇒ Object
readonly
Returns the value of attribute problem.
Instance Method Summary collapse
-
#initialize(problem = nil, **details) ⇒ OperationFailure
constructor
A new instance of OperationFailure.
Constructor Details
#initialize(problem = nil, **details) ⇒ OperationFailure
Returns a new instance of OperationFailure.
63 64 65 66 67 |
# File 'lib/flow/operation/failures.rb', line 63 def initialize(problem = nil, **details) super(problem) @problem = problem @details = OpenStruct.new(details) end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
61 62 63 |
# File 'lib/flow/operation/failures.rb', line 61 def details @details end |
#problem ⇒ Object (readonly)
Returns the value of attribute problem.
61 62 63 |
# File 'lib/flow/operation/failures.rb', line 61 def problem @problem end |