Exception: Flow::Operation::Failures::OperationFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flow/operation/failures.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#detailsObject (readonly)

Returns the value of attribute details.



61
62
63
# File 'lib/flow/operation/failures.rb', line 61

def details
  @details
end

#problemObject (readonly)

Returns the value of attribute problem.



61
62
63
# File 'lib/flow/operation/failures.rb', line 61

def problem
  @problem
end