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.



78
79
80
81
82
83
# File 'lib/smith/errors.rb', line 78

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.



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

def details
  @details
end

#kindObject (readonly)

Returns the value of attribute kind.



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

def kind
  @kind
end

#retryableObject (readonly)

Returns the value of attribute retryable.



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

def retryable
  @retryable
end