Exception: Smith::DeterministicStepFailure

Inherits:
WorkflowError show all
Defined in:
lib/smith/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, retryable: nil, kind: nil, details: nil) ⇒ DeterministicStepFailure

Returns a new instance of DeterministicStepFailure.



111
112
113
114
115
116
# File 'lib/smith/errors.rb', line 111

def initialize(message, retryable: nil, kind: nil, details: nil)
  @retryable = retryable
  @kind = kind
  @details = details
  super(message)
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



109
110
111
# File 'lib/smith/errors.rb', line 109

def details
  @details
end

#kindObject (readonly)

Returns the value of attribute kind.



109
110
111
# File 'lib/smith/errors.rb', line 109

def kind
  @kind
end

#retryableObject (readonly)

Returns the value of attribute retryable.



109
110
111
# File 'lib/smith/errors.rb', line 109

def retryable
  @retryable
end