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.



74
75
76
77
78
79
# File 'lib/smith/errors.rb', line 74

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.



72
73
74
# File 'lib/smith/errors.rb', line 72

def details
  @details
end

#kindObject (readonly)

Returns the value of attribute kind.



72
73
74
# File 'lib/smith/errors.rb', line 72

def kind
  @kind
end

#retryableObject (readonly)

Returns the value of attribute retryable.



72
73
74
# File 'lib/smith/errors.rb', line 72

def retryable
  @retryable
end